glsl2: Fix the linked version of ir_dead_code.
authorEric Anholt <eric@anholt.net>
Tue, 27 Jul 2010 18:29:17 +0000 (11:29 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 27 Jul 2010 18:46:06 +0000 (11:46 -0700)
commit5532c4ca696fea32fb9b2f8de15beabe4a20ae15
treef28c86c482b51d6a73f28daa5a28cbba74fb5261
parent66d4c65ee2c311ea0c71c39a28456d0c11798d6b
glsl2: Fix the linked version of ir_dead_code.

If we don't walk into functions, we won't see any usage of variables
in the functions.
src/glsl/ir_dead_code.cpp