Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Adept I

GL 16.7.3 Driver bug RX480, row_major uniforms, Win7 64bit

I have a uniform buffer bound to binding 0 that is row_major that works correctly, but if I bind a second one it ignores the row_major qualifier and also if I set the default globally as row_major.

So it ignores the row_major in: layout(binding = 1, std140, row_major) uniform ModelBuffer

In fact I managed to get it to 'work' by wrapping a matrix read from the buffer in a dummy function like so:

mat4x4 AMDFix(mat4x4 m){return (m);}

Which magically makes it respect the row_major layout

0 Replies