glsl: Make sure row-major array-of-structure get correct layout

Graphics / Mesa 3D Graphics Library / Mesa - Ian Romanick [intel.com] - 26 September 2014 09:59 UTC

Whether or not the field is row-major (because it might be a bvec2 or something) does not affect the array itself. We need to know whether an array element in its entirety is row-major.

5c75270 glsl: Make sure row-major array-of-structure get correct layout
src/glsl/lower_ubo_reference.cpp | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share