mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Save DP2ADD hlsl_ir_exprs in the vsir_program for SM1.
This commit is contained in:
committed by
Henri Verbeet
parent
4ed16108f0
commit
6e6e2910d6
Notes:
Henri Verbeet
2024-09-11 15:33:53 +02:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1041
@@ -715,7 +715,7 @@ enum hlsl_ir_expr_op
|
||||
HLSL_OP2_SLT,
|
||||
|
||||
/* DP2ADD(a, b, c) computes the scalar product of a.xy and b.xy,
|
||||
* then adds c. */
|
||||
* then adds c, where c must have dimx=1. */
|
||||
HLSL_OP3_DP2ADD,
|
||||
/* TERNARY(a, b, c) returns 'b' if 'a' is true and 'c' otherwise. 'a' must always be boolean.
|
||||
* CMP(a, b, c) returns 'b' if 'a' >= 0, and 'c' otherwise. It's used only for SM1-SM3 targets. */
|
||||
|
Reference in New Issue
Block a user