[PATCH vkd3d v7 4/6] vkd3d-shader/hlsl: Perform a copy propagation pass.

Zebediah Figura zfigura at codeweavers.com
Fri Nov 19 11:36:54 CST 2021


On 11/19/21 9:56 AM, Giovanni Mascellani wrote:
> Hi,
> 
> On 18/11/21 18:56, Zebediah Figura (she/her) wrote:
>> FWIW, I think that limiting it to a vector is the right thing to do as
>> well, but I'm also fine with this as a temporary measure, until we can
>> split up vectors.
> 
> Even if there is some variable that for some reason (i.e., because it is
> accessed with non-statically-known offset) cannot be split?
> 
> Giovanni.
> 

My guess is that if there's a variable accessed with non-constant 
offset, then we're not going to get much out of copy-prop anyway. 
Granted, you can come up with situations where it's not nothing...

I dunno, maybe it does make sense to leave this alone.



More information about the wine-devel mailing list