[PATCH vkd3d 5/5] vkd3d-shader/hlsl: Generate synthetic temps for object uniforms as well.

Matteo Bruni matteo.mystral at gmail.com
Thu Oct 14 03:47:06 CDT 2021


On Tue, Oct 12, 2021 at 4:59 AM Zebediah Figura <zfigura at codeweavers.com> wrote:
>
> These can be assigned to when compatibility mode is used.

Yep, pretty annoying if you ask me...

> Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
> ---
>  libs/vkd3d-shader/hlsl_codegen.c | 31 +++++++++++--------------------
>  1 file changed, 11 insertions(+), 20 deletions(-)

I'm curious, will this (or, rather, texture loads) work even without
some form of copy propagation?

FWIW, this patch breaks register allocation for textures. Basically,
has_resource_access never gets set for the "actual" extern variables.



More information about the wine-devel mailing list