glsl2: Check that nodes in a valid tree aren't error-type.
authorEric Anholt <eric@anholt.net>
Wed, 21 Jul 2010 00:18:57 +0000 (17:18 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 21 Jul 2010 00:30:10 +0000 (17:30 -0700)
commitf141fa63a4391621cc92cd2c39724a952b297a58
treeb85acfcd939e7f62bc0c0a00104fe1358f68ae3f
parentfade78edcbff1e0ae24a1e2c455be2cc7932ee9c
glsl2: Check that nodes in a valid tree aren't error-type.

We're good at propagating error types around, but finding when the
first one was triggered can be painful if we aren't paying attention.
src/glsl/ir_validate.cpp