glsl: mark special built-in inputs referenced by vertex stage
authorTapani Pälli <tapani.palli@intel.com>
Thu, 30 Apr 2015 06:27:00 +0000 (09:27 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 6 May 2015 08:10:51 +0000 (11:10 +0300)
commit3706e5dbc96aa9cc29c58dad661aa10f20574503
tree79fa672d1773fb222646fa8eaeecb8a3b27313ea
parent1fcdb2ce794d14545b06640b2316c629a3bde3ee
glsl: mark special built-in inputs referenced by vertex stage

Refactoring done on active attribute queries did not take in to
account special built-in inputs for the vertex stage. This commit
sets them referenced by vertex stage so that they get enumerated
properly.

Fixes Piglit test 'get-active-attrib-returns-all-inputs' failure.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90243
Acked-by: Jose Fonseca <jfonseca@vmware.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Reviewed-By: Martin Peres <martin.peres@linux.intel.com>
src/glsl/linker.cpp