0 Replies Latest reply on Aug 5, 2016 6:09 AM by cybernoid

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

    cybernoid

      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