glsl2: Generate masked assignments in vector and matrix constructors
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 3 Aug 2010 23:05:54 +0000 (16:05 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 4 Aug 2010 23:47:28 +0000 (16:47 -0700)
commit3d58be6135e71e6105ae65850f2dbeaf9ecff5c3
tree99d162bbc971a18ee707d146a881212649448e7c
parent6235c6a83855fe2818affda3c82e1a245bd0232e
glsl2: Generate masked assignments in vector and matrix constructors

Previously the in-line matrix and vector constructors would generate
swizzles in the LHS.  The code is actually more clear if it just
generates the masked assignments instead of relying on the
ir_assignment constructor to convert the swizzles to write masks.
src/glsl/ast_function.cpp