vkd3d-shader: Lower SUB to NEG + ADD at parse time.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura
2021-08-09 21:56:19 -05:00
committed by Alexandre Julliard
parent ed7cdb3940
commit 6e3bdb17dc
4 changed files with 18 additions and 8 deletions

View File

@@ -1062,7 +1062,6 @@ static const char *debug_expr_op(const struct hlsl_ir_expr *expr)
"sat",
"+",
"-",
"*",
"/",