vkd3d-shader: Allocate temporary registers for anonymous expressions.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura
2021-04-08 23:38:24 -05:00
committed by Alexandre Julliard
parent 16163021b9
commit e957d3a346
2 changed files with 13 additions and 0 deletions

View File

@@ -171,6 +171,7 @@ struct hlsl_ir_node
* true even for loops, since currently we can't have a reference to a
* value generated in an earlier iteration of the loop. */
unsigned int index, last_read;
struct hlsl_reg reg;
};
struct hlsl_src