On Tue Nov 21 14:09:13 2023 +0000, Henri Verbeet wrote:
I think there's room for some subtlety here. Unsupported by the backend doesn't necessarily have to mean "ignored"; failing compilation when a non-zero alignment is encountered would certainly be a valid choice. In particular, that would avoid potentially miscompiling shaders.
My understanding is the alignment is additional info to aid optimisation, and is not required for correct compilation. Should this patch add a WARN to the backend for a nonzero alignment?