glapi: add functions for AMD_draw_buffers_blend
authorMarek Olšák <maraeo@gmail.com>
Mon, 2 May 2011 10:33:08 +0000 (12:33 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 2 May 2011 22:35:50 +0000 (00:35 +0200)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mapi/glapi/gen/AMD_draw_buffers_blend.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/AMD_draw_buffers_blend.xml b/src/mapi/glapi/gen/AMD_draw_buffers_blend.xml
new file mode 100644 (file)
index 0000000..2ed0e0b
--- /dev/null
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<!-- Note: no GLX protocol info yet. -->
+
+
+<OpenGLAPI>
+
+<category name="GL_AMD_draw_buffers_blend" number="366">
+
+    <function name="BlendEquationIndexedAMD" alias="BlendEquationiARB">
+        <param name="buf" type="GLuint"/>
+        <param name="mode" type="GLenum"/>
+    </function>
+
+    <function name="BlendEquationSeparateIndexedAMD" alias="BlendEquationSeparateiARB">
+        <param name="buf" type="GLuint"/>
+        <param name="modeRGB" type="GLenum"/>
+        <param name="modeA" type="GLenum"/>
+    </function>
+
+    <function name="BlendFuncIndexedAMD" alias="BlendFunciARB">
+        <param name="buf" type="GLuint"/>
+        <param name="src" type="GLenum"/>
+        <param name="dst" type="GLenum"/>
+    </function>
+
+    <function name="BlendFuncSeparateIndexedAMD" alias="BlendFuncSeparateiARB">
+        <param name="buf" type="GLuint"/>
+        <param name="srcRGB" type="GLenum"/>
+        <param name="dstRGB" type="GLenum"/>
+        <param name="srcA" type="GLenum"/>
+        <param name="dstA" type="GLenum"/>
+    </function>
+
+</category>
+
+</OpenGLAPI>
index f02e5d2..87b928c 100644 (file)
@@ -86,6 +86,7 @@ API_XML = \
        ARB_sync.xml \
        ARB_texture_buffer_object.xml \
        ARB_vertex_array_object.xml \
+       AMD_draw_buffers_blend.xml \
        APPLE_object_purgeable.xml \
        APPLE_vertex_array_object.xml \
        EXT_draw_buffers2.xml \
index 669be60..7a7b1e9 100644 (file)
 <xi:include href="ARB_instanced_arrays.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 
 <xi:include href="ARB_draw_buffers_blend.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+<xi:include href="AMD_draw_buffers_blend.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 
 <xi:include href="ARB_texture_buffer_object.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>