[PATCH 3/5] d3dcompiler: Compute liveness ranges for anonymous nodes.

Matteo Bruni matteo.mystral at gmail.com
Wed Apr 1 13:33:01 CDT 2020


On Mon, Mar 30, 2020 at 4:54 AM Zebediah Figura <z.figura12 at 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.



More information about the wine-devel mailing list