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.