glsl: Only flag RowMajor on matrix-type variables.
authorEric Anholt <eric@anholt.net>
Mon, 23 Jul 2012 21:31:42 +0000 (14:31 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 7 Aug 2012 20:54:50 +0000 (13:54 -0700)
commit86e0045578cd8d8be7736a8f56e2b51d61bda32a
tree500b17b41cd09afb4a88d40a5ea6bd27b83ac865
parentffb2d430596258aaeaf3b7ae7f295036ea4094d5
glsl: Only flag RowMajor on matrix-type variables.

We were only propagating it to the API when the variable was a matrix type,
but we were still tripping over it in lower_ubo_reference when it was set on a
vector.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast_to_hir.cpp