glsl: Remove varying "base" parameters
authorIan Romanick <ian.d.romanick@intel.com>
Sun, 27 Apr 2014 00:45:35 +0000 (17:45 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 2 May 2014 14:16:54 +0000 (07:16 -0700)
commit7016afe25d1c8ca652bd712ce130b135220530c5
tree3923da738e0dbb732ff066948f8630002d5137fa
parent03488cd3b956a5afb46749a6e3894a664138eb47
glsl: Remove varying "base" parameters

In February 2013 Paul unified the values used for shader stage outputs
and shader stage inputs.  See commits 8a076c5f0^..eed6baf76.  Since that
time, the location_base parameters are always VARYING_SLOT_VAR0.
Instead of passing that around, just hard code it.

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