December 17, 2021 8:35 PM, "Zebediah Figura (she/her)" zfigura@codeweavers.com wrote:
On 12/17/21 13:12, Francisco Casas wrote:
This function is also moved from hlsl.y to hlsl.h, since it can be useful in other files.
I would prefer to do that only in the patch where it's actually used.
Okay.
Is there a reason to make it a static inline function, instead of just linking to it?
Since this function is small and so closely related to enum hlsl_sampler_dim, I had the feeling that it would be good to keep it close to it.
But I can move it to hlsl.c.