ir_constant_expression: Support scalar * vector and scalar * matrix.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 6 Jul 2010 10:01:15 +0000 (03:01 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 6 Jul 2010 23:03:33 +0000 (16:03 -0700)
commit37b3f9d0edb55807f822c02292348e20a8369c43
tree978e2884d66ca8b9cd799b70c3ecb54a3f239f5c
parentdad35eb8b0c7378588d9dca1c1091aaede83a83f
ir_constant_expression: Support scalar * vector and scalar * matrix.

The test here is slightly different since we need to keep matrix
multiplication separate.

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