mesa: add GL_PROGRAM_BINARY_FORMAT_MESA enum
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 28 Nov 2017 00:15:07 +0000 (11:15 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 8 Dec 2017 05:44:35 +0000 (16:44 +1100)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
docs/specs/enums.txt
src/mapi/glapi/registry/gl.xml

index eb4aa396c568dc881280e17b4107a57fc84513cd..bf3ca9c1762d408ddc1385718b488b6dd5c2f886 100644 (file)
@@ -63,6 +63,9 @@ GL_MESAX_texture_stack:
        GL_TEXTURE_1D_STACK_BINDING_MESAX    0x875D
        GL_TEXTURE_2D_STACK_BINDING_MESAX    0x875E
 
+GL_MESA_program_binary_formats:
+        GL_PROGRAM_BINARY_FORMAT_MESA           0x875F
+
 GL_MESA_tile_raster_order
        GL_TILE_RASTER_ORDER_FIXED_MESA         0x8BB8
        GL_TILE_RASTER_ORDER_INCREASING_X_MESA  0x8BB9
index cbabe11b39857d6e8507292d1f4ad93c34ff1f59..833478aa51540a2d3609c395fdde1d4d49d42b25 100644 (file)
@@ -5505,7 +5505,7 @@ typedef unsigned int GLhandleARB;
         <enum value="0x875C" name="GL_PROXY_TEXTURE_2D_STACK_MESAX"/>
         <enum value="0x875D" name="GL_TEXTURE_1D_STACK_BINDING_MESAX"/>
         <enum value="0x875E" name="GL_TEXTURE_2D_STACK_BINDING_MESAX"/>
-            <unused start="0x875F" vendor="MESA"/>
+        <enum value="0x875F" name="GL_PROGRAM_BINARY_FORMAT_MESA"/>
     </enums>
 
     <enums namespace="GL" start="0x8760" end="0x883F" vendor="AMD">
@@ -44361,6 +44361,11 @@ typedef unsigned int GLhandleARB;
                 <enum name="GL_PACK_INVERT_MESA"/>
             </require>
         </extension>
+        <extension name="GL_MESA_program_binary_formats" supported="gl|gles2">
+            <require>
+                <enum name="GL_PROGRAM_BINARY_FORMAT_MESA"/>
+            </require>
+        </extension>
         <extension name="GL_MESA_resize_buffers" supported="gl">
             <require>
                 <command name="glResizeBuffersMESA"/>