glsl2: Fix transpose of rows and cols
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 17 Aug 2010 22:57:48 +0000 (15:57 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 17 Aug 2010 23:06:30 +0000 (16:06 -0700)
commitbdc0e5285a3d7d29b953970e43ca548cbc4e7e30
tree77934bfda4db92686d9e412adc149b2b9c6ba1cb
parent8f5f44c9c8fa59e36efdf1acf3543ad81cb865d5
glsl2: Fix transpose of rows and cols

This error led to an assertion failure for some constructors of
non-square matrices.  It only occured in matrices where the number of
columns was greater than the number of rows.  It didn't even always
occur on those.

Fixes piglit glslparsertest case constructor-16.vert.
src/glsl/ast_function.cpp