[PATCH 2/5] d3dcompiler: Compute liveness ranges for variables.

Matteo Bruni matteo.mystral at gmail.com
Wed Apr 1 13:32:53 CDT 2020


On Mon, Mar 30, 2020 at 4:54 AM Zebediah Figura <z.figura12 at gmail.com> wrote:
>
> @@ -2641,7 +2726,8 @@ struct bwriter_shader *parse_hlsl(enum shader_type type, DWORD major, DWORD mino
>          goto out;
>      }
>
> -    index_instructions(entry_func->body, 1);
> +    /* Index 0 means unused; index 1 means function entry, so start at 2. */
> +    index_instructions(entry_func->body, 2);

Do we need to reserve a special value for function entry?



More information about the wine-devel mailing list