glsl: add OES_viewport_array enables and use them to expose gl_ViewportIndex
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 16 Sep 2016 17:59:27 +0000 (13:59 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 23 Sep 2016 00:42:30 +0000 (20:42 -0400)
commit70aef97f9e22323200eb8d1a02a9b35f4f4d5fe8
treeb1a172759aefa571502c1d830b817756a5b75586
parent411a72d4a2eb69e45701c5e19049f6c543a78f24
glsl: add OES_viewport_array enables and use them to expose gl_ViewportIndex

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/compiler/glsl/builtin_variables.cpp
src/compiler/glsl/glsl_parser_extras.h