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>
This commit is contained in:
Ilia Mirkin
2016-09-16 13:59:27 -04:00
parent 411a72d4a2
commit 70aef97f9e
2 changed files with 8 additions and 3 deletions

View File

@@ -698,6 +698,8 @@ struct _mesa_glsl_parse_state {
bool OES_texture_cube_map_array_warn;
bool OES_texture_storage_multisample_2d_array_enable;
bool OES_texture_storage_multisample_2d_array_warn;
bool OES_viewport_array_enable;
bool OES_viewport_array_warn;
/* All other extensions go here, sorted alphabetically.
*/