glsl: Add gl_Layer and gl_ViewportIndex builtins to fragment shader
authorChris Forbes <chrisf@ijw.co.nz>
Sat, 25 Jan 2014 05:29:38 +0000 (18:29 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Sun, 22 Jun 2014 04:52:19 +0000 (16:52 +1200)
commitb2c1f3a0198d2abf98e965a7a022ad8c9ec4f43c
treecbf3e31b9133ed6c6da26e485ca794ead16645de
parentcc18b1ec2161c846109e921d7821dfeef7a06f3a
glsl: Add gl_Layer and gl_ViewportIndex builtins to fragment shader

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/builtin_variables.cpp