glsl2: When linking makes a variable not a varying output, make it ir_var_auto.
authorEric Anholt <eric@anholt.net>
Tue, 13 Jul 2010 18:07:16 +0000 (11:07 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 13 Jul 2010 18:07:16 +0000 (11:07 -0700)
commitc10a68522c400d48553dbd473b9778140842d9dd
tree5e62537cf0d0d60cf63047a39d6dc1439efaeaae
parent4d5da50b94115d055ba8d0ff8717054582665384
glsl2: When linking makes a variable not a varying output, make it ir_var_auto.

This almost fixes glsl-unused-varying, except that the used varying
gets assigned to the first varying slot (position).
src/glsl/linker.cpp