NV_compute_shader_derivatives OpenGL ES support
diff --git a/extensions/NV/NV_compute_shader_derivatives.txt b/extensions/NV/NV_compute_shader_derivatives.txt
index 9c4ef8e..4bc891b 100644
--- a/extensions/NV/NV_compute_shader_derivatives.txt
+++ b/extensions/NV/NV_compute_shader_derivatives.txt
@@ -14,6 +14,7 @@
Ashwin Lele, NVIDIA
Jeff Bolz, NVIDIA
+ Michael Chock, NVIDIA
Status
@@ -21,19 +22,20 @@
Version
- Last Modified: September 15, 2018
- Revision: 1
+ Last Modified: November 9, 2018
+ Revision: 2
Number
OpenGL Extension #525
+ OpenGL ES Extension #308
Dependencies
This extension is written against the OpenGL 4.6 Specification
(Compatibility Profile), dated October 24, 2016.
- OpenGL 4.5 is required.
+ OpenGL 4.5 or OpenGL ES 3.2 is required.
This extension requires support for the OpenGL Shading Language (GLSL)
extension "NV_compute_shader_derivatives", which can be found at the
@@ -43,8 +45,8 @@
Overview
- This extension adds OpenGL API support for the OpenGL Shading Language
- (GLSL) extension "NV_compute_shader_derivatives".
+ This extension adds OpenGL and OpenGL ES API support for the OpenGL
+ Shading Language (GLSL) extension "NV_compute_shader_derivatives".
That extension, when enabled, allows applications to use derivatives in
compute shaders. It adds compute shader support for explicit derivative
@@ -66,6 +68,10 @@
None
+Modifications to the OpenGL ES 3.2 Specification
+
+ None
+
Additions to the AGL/GLX/WGL Specifications
None
@@ -88,5 +94,8 @@
Revision History
+ Revision 2 (mchock)
+ - Added OpenGL ES support.
+
Revision 1 (pbrown)
- Internal revisions.
diff --git a/extensions/registry.py b/extensions/registry.py
index b68ff48..1d0fb8b 100644
--- a/extensions/registry.py
+++ b/extensions/registry.py
@@ -3115,6 +3115,7 @@
},
'GL_NV_compute_shader_derivatives' : {
'number' : 525,
+ 'esnumber' : 308,
'flags' : { 'public' },
'supporters' : { 'NVIDIA' },
'url' : 'extensions/NV/NV_compute_shader_derivatives.txt',
diff --git a/xml/gl.xml b/xml/gl.xml
index e413fb0..3b7805e 100644
--- a/xml/gl.xml
+++ b/xml/gl.xml
@@ -46456,7 +46456,7 @@
<enum name="GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV"/>
</require>
</extension>
- <extension name="GL_NV_compute_shader_derivatives" supported="gl|glcore"/>
+ <extension name="GL_NV_compute_shader_derivatives" supported="gl|glcore|gles2"/>
<extension name="GL_NV_conditional_render" supported="gl|glcore|gles2">
<require>
<enum name="GL_QUERY_WAIT_NV"/>