Add ES support for MESA_shader_integer_functions (#3).
diff --git a/api/GLES2/gl2ext.h b/api/GLES2/gl2ext.h
index 31e3b05..4310b82 100644
--- a/api/GLES2/gl2ext.h
+++ b/api/GLES2/gl2ext.h
@@ -38,7 +38,7 @@
#define GL_APIENTRYP GL_APIENTRY*
#endif
-/* Generated on date 20170325 */
+/* Generated on date 20170331 */
/* Generated C header for:
* API: gles2
@@ -2161,6 +2161,10 @@
#endif
#endif /* GL_INTEL_performance_query */
+#ifndef GL_MESA_shader_integer_functions
+#define GL_MESA_shader_integer_functions 1
+#endif /* GL_MESA_shader_integer_functions */
+
#ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers
#define GL_NVX_blend_equation_advanced_multi_draw_buffers 1
#endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */
diff --git a/extensions/MESA/MESA_shader_integer_functions.txt b/extensions/MESA/MESA_shader_integer_functions.txt
index 7a28837..9fcc9b4 100644
--- a/extensions/MESA/MESA_shader_integer_functions.txt
+++ b/extensions/MESA/MESA_shader_integer_functions.txt
@@ -20,7 +20,7 @@
Version
- Version 2, July 7, 2016
+ Version 3, March 31, 2017
Number
@@ -34,7 +34,7 @@
This extension is written against Version 1.50 (Revision 09) of the OpenGL
Shading Language Specification.
- GLSL 1.30 is required.
+ GLSL 1.30 (OpenGL) or GLSL ES 3.00 (OpenGL ES) is required.
This extension interacts with ARB_gpu_shader5.
@@ -51,9 +51,10 @@
calculations).
This extension provides a set of new features to the OpenGL Shading
- Language to support capabilities of these GPUs, extending the capabilities
- of version 1.30 of the OpenGL Shading Language. Shaders
- using the new functionality provided by this extension should enable this
+ Language to support capabilities of these GPUs, extending the
+ capabilities of version 1.30 of the OpenGL Shading Language and version
+ 3.00 of the OpenGL ES Shading Language. Shaders using the new
+ functionality provided by this extension should enable this
functionality via the construct
#extension GL_MESA_shader_integer_functions : require (or enable)
@@ -516,5 +517,6 @@
Rev. Date Author Changes
---- ----------- -------- -----------------------------------------
+ 3 31-Mar-2017 Jon Leech Add ES support (OpenGL-Registry/issues/3)
2 7-Jul-2016 idr Fix typo in #extension line
1 20-Jun-2016 idr Initial version based on GL_ARB_gpu_shader5.
diff --git a/xml/gl.xml b/xml/gl.xml
index 42274ff..3a08a51 100644
--- a/xml/gl.xml
+++ b/xml/gl.xml
@@ -43687,7 +43687,7 @@
<command name="glResizeBuffersMESA"/>
</require>
</extension>
- <extension name="GL_MESA_shader_integer_functions" supported="gl" comment="May be supported on gles2; see OpenGL-Registry #4"/>
+ <extension name="GL_MESA_shader_integer_functions" supported="gl|gles2"/>
<extension name="GL_MESA_window_pos" supported="gl">
<require>
<command name="glWindowPos2dMESA"/>