glsl: don't generate transform feedback candidate when not required
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 2 Feb 2016 22:46:56 +0000 (09:46 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Sat, 6 Feb 2016 03:34:43 +0000 (14:34 +1100)
commitea7f64f74d0910f72730849d3081ae8a62cc28d4
tree684af8ecaa1a00e7416327b946862fb29023572b
parentc1bbaff1e83f901d67d78f9e1ddfe8291dd09bfa
glsl: don't generate transform feedback candidate when not required

If we are not even looking for one don't bother generating a candidate
list.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/link_varyings.cpp