summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
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/mesa/main
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/mesa/main')
-rw-r--r--src/mesa/main/extensions_table.h1
-rw-r--r--src/mesa/main/mtypes.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h
index c40dd79..e7669bb 100644
--- a/src/mesa/main/extensions_table.h
+++ b/src/mesa/main/extensions_table.h
@@ -390,6 +390,7 @@ EXT(OES_texture_npot , ARB_texture_non_power_of_two
EXT(OES_texture_stencil8 , ARB_texture_stencil8 , x , x , x , 30, 2014)
EXT(OES_texture_storage_multisample_2d_array, ARB_texture_multisample , x , x , x , 31, 2014)
EXT(OES_vertex_array_object , dummy_true , x , x , ES1, ES2, 2010)
+EXT(OES_viewport_array , OES_viewport_array , x , x , x , 31, 2010)
EXT(S3_s3tc , ANGLE_texture_compression_dxt , GLL, GLC, x , x , 1999)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index d82b8ce..85aeb1e 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -3952,6 +3952,7 @@ struct gl_extensions
GLboolean OES_standard_derivatives;
GLboolean OES_texture_buffer;
GLboolean OES_texture_cube_map_array;
+ GLboolean OES_viewport_array;
/* vendor extensions */
GLboolean AMD_performance_monitor;
GLboolean AMD_pinned_memory;