glsl: Make the tree rebalancer bail on matrix operands.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 15 Jul 2014 23:34:56 +0000 (16:34 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 16 Jul 2014 22:43:13 +0000 (15:43 -0700)
commit9697f8088f9e1c1b1f1b39b57a26ac4bd21b247f
tree6bf19d582464b2227ad82e36b5078f220f6fa018
parent99f8ea295fe370fe0572ca29ad8bf48108cb722b
glsl: Make the tree rebalancer bail on matrix operands.

It doesn't handle things like (vector * matrix) correctly, and
apparently Matt's intention was to bail.

Fixes shader compilation in Natural Selection 2.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/opt_rebalance_tree.cpp