]> git.tdb.fi Git - libs/gl.git/blobdiff - gl.fixes.xml
Check the flat qualifier from the correct member
[libs/gl.git] / gl.fixes.xml
index e6e14b38e400a8b2aa5caed85ba62d5085e27932..4a00e3790ce9f5bd001beef5e657aa415dddf008 100644 (file)
         <!-- The name got changed but as far as I can tell they mean the same
         thing. -->
         <enum value="0x8CD4" name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT" alias="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER"/>
+
+        <!-- Add an alias to improve desktop OpenGL compatibility even though
+        this was not promoted to core in OpenGL ES. -->
+        <enum value="0x81A7" name="GL_DEPTH_COMPONENT32_OES" alias="GL_DEPTH_COMPONENT32"/>
     </enums>
 
     <feature api="gl" name="GL_VERSION_1_4" number="1.4">
         </require>
     </feature>
 
+    <feature api="gles2">
+        <require>
+            <!-- Annotate support for certain things in OpenGL ES.  Don't set
+            version because they are only available through extensions. -->
+            <enum name="GL_DEPTH_COMPONENT32"/>
+            <enum name="GL_BUFFER_ACCESS"/>
+            <command name="glBindFragDataLocation"/>
+            <command name="glMapBuffer"/>
+        </require>
+    </feature>
+
     <extensions>
-        <!-- Put GL_RED here for the benefit of OpenGL ES. -->
+        <extension name="GL_ARB_depth_texture" supported="gl">
+            <require>
+                <!-- The base GL_DEPTH_COMPONENT format was introduced for
+                other purposes before it could be used for textures. -->
+                <enum name="GL_DEPTH_COMPONENT"/>
+            </require>
+        </extension>
+
         <extension name="GL_ARB_texture_rg" supported="gl|glcore">
             <require>
+                <!-- GL_RED is mentioned in the extension spec. -->
                 <enum name="GL_RED"/>
             </require>
         </extension>
 
-        <!-- And the remaining color components here. -->
-        <extension name="GL_ARB_texture_swizzle" supported="gl|glcore">
+        <extension name="GL_EXT_gpu_shader4" supported="gl">
             <require>
-                <enum name="GL_GREEN"/>
-                <enum name="GL_BLUE"/>
-                <enum name="GL_ALPHA"/>
+                <!-- Integer attribute functions are supposed to be in this
+                extension but are misattributed to NV_vertex_program4. -->
+                <command name="glVertexAttribI1iEXT"/>
+                <command name="glVertexAttribI2iEXT"/>
+                <command name="glVertexAttribI3iEXT"/>
+                <command name="glVertexAttribI4iEXT"/>
+                <command name="glVertexAttribI1uiEXT"/>
+                <command name="glVertexAttribI2uiEXT"/>
+                <command name="glVertexAttribI3uiEXT"/>
+                <command name="glVertexAttribI4uiEXT"/>
+                <command name="glVertexAttribI1ivEXT"/>
+                <command name="glVertexAttribI2ivEXT"/>
+                <command name="glVertexAttribI3ivEXT"/>
+                <command name="glVertexAttribI4ivEXT"/>
+                <command name="glVertexAttribI1uivEXT"/>
+                <command name="glVertexAttribI2uivEXT"/>
+                <command name="glVertexAttribI3uivEXT"/>
+                <command name="glVertexAttribI4uivEXT"/>
+                <command name="glVertexAttribI4bvEXT"/>
+                <command name="glVertexAttribI4svEXT"/>
+                <command name="glVertexAttribI4ubvEXT"/>
+                <command name="glVertexAttribI4usvEXT"/>
+                <command name="glVertexAttribIPointerEXT"/>
+                <command name="glGetVertexAttribIivEXT"/>
+                <command name="glGetVertexAttribIuivEXT"/>
             </require>
         </extension>
     </extensions>