ir_constant_expression: Support scalar + vector and scalar + matrix.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 6 Jul 2010 09:48:16 +0000 (02:48 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 6 Jul 2010 23:03:33 +0000 (16:03 -0700)
commite74dcd7924901e5cb3d0952f46e955e15d0b3207
tree0e1054c3bdd6270a676d05b3712fb60b6f76e9b8
parent6fc983b9bb5555e2906d2680bc3cbd11c43b63f6
ir_constant_expression: Support scalar + vector and scalar + matrix.

Fixes piglit tests const-vec-scalar-01.frag, const-vec-scalar-05.frag,
and const-mat-scalar-01.frag.
src/glsl/ir_constant_expression.cpp