glsl: Add gl_ViewportIndex built-in variable
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Wed, 13 Nov 2013 18:11:39 +0000 (11:11 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Jan 2014 19:32:00 +0000 (11:32 -0800)
commitc2eefb06aa3522920548046ee0c1be59428649ed
tree13fe07f62a2f2b4ac339bc8a1bdc9b1fba37d4e7
parent5439964270e966aa53a2c1f58969f23555bfa9ad
glsl: Add gl_ViewportIndex built-in variable

v2 (idr): Fix copy-and-paste bug... s/LAYER/VIEWPORT/

Signed-off-by: Courtney Goeltzenleuchter <courtney@LunarG.com>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/builtin_variables.cpp