glsl: Remove VS output varyings which are optimized out of the FS
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 13 Feb 2013 00:12:31 +0000 (16:12 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Sun, 24 Feb 2013 00:20:28 +0000 (16:20 -0800)
commit0486d503209cf375ae77456336742774b12eda02
tree1ae4e1a579c20371bd2e0314fc7ca38ca729392b
parentf6487e8911399ee62fffd54035c9459256043f9d
glsl: Remove VS output varyings which are optimized out of the FS

Previously when an input varying was optimized out of the
FS we would still retain it as an output of the VS.

We now build a hash of live FS input varyings rather
than looking in the FS symbol table. (The FS symbol table
will still contain the optimized out varyings.)

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/link_varyings.cpp