1 Apr
2020
1 Apr
'20
7:33 p.m.
On Mon, Mar 30, 2020 at 4:54 AM Zebediah Figura <z.figura12(a)gmail.com> wrote:
+ case HLSL_IR_CONSTRUCTOR: + { + struct hlsl_ir_constructor *constructor = constructor_from_node(instr); + unsigned int i; + for (i = 0; i < constructor->args_count; ++i) + constructor->args[i]->last_read = instr->index; break; }
Going forward, it's probably easier to add a pass to split up HLSL_IR_CONSTRUCTOR nodes into multiple assignments. One less node type to care about here and in the following passes.