glsl2: Don't dead-code eliminate a call where the return value is unused.
authorEric Anholt <eric@anholt.net>
Thu, 5 Aug 2010 19:10:31 +0000 (12:10 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 5 Aug 2010 19:56:03 +0000 (12:56 -0700)
commit9f82806c7b5109553cf806a5652e6b6198665094
treed09c0725d013f3ede715c0b02d007af6f761b727
parent3bd7e70bf7c4a9a52b425284c9f23689f00de93c
glsl2: Don't dead-code eliminate a call where the return value is unused.

This showed up since the disabling of inlining at compile time, which
I apparently didn't regenerate piglit summary for.

Fixes:
glsl-deadcode-call.
src/glsl/ir.h
src/glsl/ir_basic_block.cpp
src/glsl/ir_dead_code.cpp
src/glsl/ir_dead_code_local.cpp