[PATCH vkd3d 04/13] vkd3d-shader/hlsl: Propagate copies for resource load instructions.

Giovanni Mascellani gmascellani at codeweavers.com
Wed Dec 22 03:37:40 CST 2021


Hi,

On 22/12/21 00:08, Zebediah Figura wrote:
> This patch is something of an argument for storing the resource and sampler
> variables as hlsl_src rather than hlsl_deref. I'm still inclined to avoid this,
> because that would require the variable to be unchanged between the load and
> resource load, and that feels like a tricky and dangerous invariant to preserve.

I have no opinion of whether using a hlsl_src or a hlsl_deref (not yet, 
at least :-P ), but I don't understand your second sentence. Is it 
possible to mutate a texture or sampler variable?

Giovanni.



More information about the wine-devel mailing list