[PATCH vkd3d v4 3/7] vkd3d-shader/hlsl: Do not generate useless swizzles.

Zebediah Figura zfigura at codeweavers.com
Tue Apr 26 15:13:47 CDT 2022


On 4/26/22 05:26, Giovanni Mascellani wrote:
> They would interfere with the following add_array_load() patch, because they
> would cause indices to be of type uint1 instead of uint.

I've signed off on this because I think it's valuable on its own merits, 
but I think the correct solution here is that we shouldn't care about 
SCALAR versus VECTOR types past hlsl.y.

I.e. in this instance, we should be using is_vec1() in 
hlsl_offset_from_deref().



More information about the wine-devel mailing list