linker: Make lower_packed_varyings work with explicit locations
authorIan Romanick <ian.d.romanick@intel.com>
Sun, 27 Apr 2014 21:16:48 +0000 (14:16 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 2 May 2014 14:16:54 +0000 (07:16 -0700)
commit5998fd536a1bb1d13218c995aa69723c6767cf04
treea038175491ede50b6cd67b644a97b12128a2e514
parent7016afe25d1c8ca652bd712ce130b135220530c5
linker: Make lower_packed_varyings work with explicit locations

Don't do anything with variables that have explicitly assigned
locations.  This is also how built-in varyings are handled.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/glsl/lower_packed_varyings.cpp