Adds ES support to NV_representative_fragment_test

Allows implementing with ES. If so,
removes references to GetDoublev.
diff --git a/extensions/NV/NV_representative_fragment_test.txt b/extensions/NV/NV_representative_fragment_test.txt
index 7b13a8a..1927a38 100644
--- a/extensions/NV/NV_representative_fragment_test.txt
+++ b/extensions/NV/NV_representative_fragment_test.txt
@@ -16,6 +16,7 @@
     Jeff Bolz, NVIDIA Corporation
     Pat Brown, NVIDIA Corporation
     Eric Werness, NVIDIA Corporation
+    Pyarelal Knowles, NVIDIA Corporation
 
 Status
 
@@ -23,19 +24,20 @@
 
 Version
 
-    Last Modified Date:     September 15, 2018
-    NVIDIA Revision:        2
+    Last Modified Date:     March 7, 2019
+    NVIDIA Revision:        3
 
 Number
 
     OpenGL Extension #528
+    OpenGL ES Extension #314
 
 Dependencies
 
     This extension is written against the OpenGL 4.6 Specification
     (Compatibility Profile), dated May 14, 2018.
 
-    OpenGL 4.5 is required.
+    OpenGL 4.5 or OpenGL ES 3.2 is required.
 
 Overview
 
@@ -148,6 +150,10 @@
 
     None
 
+Interactions with OpenGL ES
+
+    If implemented with OpenGL ES, ignore references to GetDoublev.
+
 Issues
 
     (1) Since the representative fragment test does not have guaranteed
@@ -173,6 +179,9 @@
 
 Revision History
 
+    Revision 3, March 7, 2019 (pknowles)
+    - Add ES interactions.
+
     Revision 2, September 15, 2018 (pbrown)
     - Prepare specification for publication.
 
diff --git a/extensions/esext.php b/extensions/esext.php
index cc37db4..8b6369f 100644
--- a/extensions/esext.php
+++ b/extensions/esext.php
@@ -651,4 +651,6 @@
 </li>
 <li value=313><a href="extensions/NV/NV_shader_texture_footprint.txt">GL_NV_shader_texture_footprint</a>
 </li>
+<li value=314><a href="extensions/NV/NV_representative_fragment_test.txt">GL_NV_representative_fragment_test</a>
+</li>
 </ol>
diff --git a/extensions/registry.py b/extensions/registry.py
index 2d4b69a..214fac2 100644
--- a/extensions/registry.py
+++ b/extensions/registry.py
@@ -3595,6 +3595,7 @@
     },
     'GL_NV_representative_fragment_test' : {
         'number' : 528,
+        'esnumber' : 314,
         'flags' : { 'public' },
         'supporters' : { 'NVIDIA' },
         'url' : 'extensions/NV/NV_representative_fragment_test.txt',
diff --git a/xml/gl.xml b/xml/gl.xml
index 398c4ec..a5b3e11 100644
--- a/xml/gl.xml
+++ b/xml/gl.xml
@@ -47653,7 +47653,7 @@
                 <command name="glGetCombinerStageParameterfvNV"/>
             </require>
         </extension>
-        <extension name="GL_NV_representative_fragment_test" supported="gl|glcore">
+        <extension name="GL_NV_representative_fragment_test" supported="gl|glcore|gles2">
             <require>
                 <enum name="GL_REPRESENTATIVE_FRAGMENT_TEST_NV"/>
             </require>