glapi: Add GL_EXT_separate_shader_objects
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 11 Oct 2010 22:04:59 +0000 (15:04 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 27 Oct 2010 20:35:52 +0000 (13:35 -0700)
src/mapi/glapi/gen/EXT_separate_shader_objects.xml [new file with mode: 0644]
src/mapi/glapi/gen/Makefile
src/mapi/glapi/gen/gl_API.xml

diff --git a/src/mapi/glapi/gen/EXT_separate_shader_objects.xml b/src/mapi/glapi/gen/EXT_separate_shader_objects.xml
new file mode 100644 (file)
index 0000000..6ec5615
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<!-- Note: no GLX protocol info yet. -->
+
+<OpenGLAPI>
+<category name="GL_EXT_separate_shader_objects" number="377">
+    <!-- Alias of CURRENT_PROGRAM -->
+    <enum name="ACTIVE_PROGRAM_EXT"               value="0x8B8D"/>
+
+    <function name="UseShaderProgramEXT"  offset="assign">
+        <param name="type" type="GLenum"/>
+       <param name="program" type="GLuint"/>
+    </function>
+
+    <function name="ActiveProgramEXT"  offset="assign">
+       <param name="program" type="GLuint"/>
+    </function>
+
+    <function name="CreateShaderProgramEXT"  offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="string" type="const GLchar *"/>
+        <return type="GLuint"/>
+    </function>
+</category>
+</OpenGLAPI>
index 7ecd00dfde8fbe63f0f9a1d0d9c43d972a801ac5..de84de8d07a234ccb35f05a4dc3deadc289d9533 100644 (file)
@@ -87,6 +87,7 @@ API_XML = \
        EXT_framebuffer_object.xml \
        EXT_packed_depth_stencil.xml \
        EXT_provoking_vertex.xml \
+       EXT_separate_shader_objects.xml \
        EXT_texture_array.xml \
        EXT_texture_integer.xml \
        EXT_transform_feedback.xml \
index 7213cf9f1621d65b27c276037101a12743857d5c..cbe37f2d75a04d771a1e6528740903a7a0888acd 100644 (file)
     </function>
 </category>
 
+<xi:include href="EXT_separate_shader_objects.xml"
+           xmlns:xi="http://www.w3.org/2001/XInclude"/>
+
 <!-- Unnumbered extensions sorted by name. -->
 
 <category name="GL_ATI_blend_equation_separate">