glsl: build stageref mask using IR, not symbol table
authorTapani Pälli <tapani.palli@intel.com>
Mon, 29 Jun 2015 11:19:00 +0000 (14:19 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 1 Jul 2015 11:40:34 +0000 (14:40 +0300)
commitccaf37f4496eb836866c9daacf21f1f5ac8c6d66
treeb45a7b72e613ecf20e7fec967ed6d59cd8c72d79
parent19ea623586aacc995b3f4a1a3ea321ead12dc43c
glsl: build stageref mask using IR, not symbol table

Instead of using symbol table, build mask by inspecting IR. This
change is required by further patches to move resource list creation
to happen later when symbol table does not exist anymore.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
src/glsl/linker.cpp