15 Feb
2024
15 Feb
'24
2:37 p.m.
I prefer adding the entries instead of accessing the array using `sampler_dim - 2`, because the `- 2` is not very telling.
I'd just leave them empty/unspecified, or in this case I guess set them to zero. Alternatively we could move them to the end of the enum. Or even think about removing them from it entirely; they pretty much don't act like normal HLSL_TYPE_TEXTURE in any way I think? -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/569#note_61373