glsl: Make sure row-major array-of-structure get correct layout
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 9 Sep 2014 01:25:15 +0000 (18:25 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 26 Sep 2014 14:59:47 +0000 (07:59 -0700)
commit5c75270c344815b15ef73e83421192fd7de35972
treeb6c26c5b1140fa5c84d00a61f87e50f143b1cb4b
parent8e01c66da6c780601f941aa5b9939962c219fdbd
glsl: Make sure row-major array-of-structure get correct layout

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.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83506
Cc: mesa-stable@lists.freedesktop.org
src/glsl/lower_ubo_reference.cpp