summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glsl_parser_extras.cpp
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2016-09-16 13:53:03 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2016-09-22 20:42:30 -0400
commit5644a90801795a4da2042d712e5d6c4a69cc3e0d (patch)
tree63fc4a5508d0b0cc332fd23263aa8bdfa8e503c1 /src/compiler/glsl/glsl_parser_extras.cpp
parent70aef97f9e22323200eb8d1a02a9b35f4f4d5fe8 (diff)
downloadexternal_mesa3d-5644a90801795a4da2042d712e5d6c4a69cc3e0d.zip
external_mesa3d-5644a90801795a4da2042d712e5d6c4a69cc3e0d.tar.gz
external_mesa3d-5644a90801795a4da2042d712e5d6c4a69cc3e0d.tar.bz2
mesa: add GL_OES_viewport_array to the extension string
The expectation is that drivers will set this based on OES_geometry_shader and ARB_viewport_array support. This is a separate enable on the same reasoning as for OES_texture_cube_map_array. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'src/compiler/glsl/glsl_parser_extras.cpp')
-rw-r--r--src/compiler/glsl/glsl_parser_extras.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp
index 84d923f..b108afd 100644
--- a/src/compiler/glsl/glsl_parser_extras.cpp
+++ b/src/compiler/glsl/glsl_parser_extras.cpp
@@ -654,6 +654,7 @@ static const _mesa_glsl_extension _mesa_glsl_supported_extensions[] = {
EXT(OES_texture_buffer),
EXT(OES_texture_cube_map_array),
EXT_AEP(OES_texture_storage_multisample_2d_array),
+ EXT(OES_viewport_array),
/* All other extensions go here, sorted alphabetically.
*/