glsl: Don't dead-code eliminiate uniforms declared in uniform blocks.
authorEric Anholt <eric@anholt.net>
Tue, 1 May 2012 21:26:09 +0000 (14:26 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 20 Jul 2012 17:43:52 +0000 (10:43 -0700)
commit0cea8a56b627cea297e4213266b57b7a1085dcca
treedc164d3b2cd9aff86395334959777d22b11c8348
parent548bce473367a53f45275356f8d5b9e7d98be5ce
glsl: Don't dead-code eliminiate uniforms declared in uniform blocks.

This is a requirement for std140 uniform blocks, and optional for
packed/shared blocks.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/opt_dead_code.cpp