[Mesa-dev] [PATCH 1/8] Add EXT_blend_func_extended XML definitions

Ryan Houdek sonicadvance1 at gmail.com
Thu Nov 5 09:16:50 PST 2015


---
 src/mapi/glapi/gen/EXT_gpu_shader4.xml |  3 ++-
 src/mapi/glapi/gen/es_EXT.xml          | 38 ++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+), 1 deletion(-)

diff --git a/src/mapi/glapi/gen/EXT_gpu_shader4.xml b/src/mapi/glapi/gen/EXT_gpu_shader4.xml
index b1f7eae..b4120b9 100644
--- a/src/mapi/glapi/gen/EXT_gpu_shader4.xml
+++ b/src/mapi/glapi/gen/EXT_gpu_shader4.xml
@@ -232,7 +232,8 @@
         <param name="params" type="GLuint *"/>
     </function>
 
-    <function name="BindFragDataLocationEXT" alias="BindFragDataLocation">
+    <function name="BindFragDataLocationEXT" alias="BindFragDataLocation"
+	    es2="3.0">
         <param name="program" type="GLuint"/>
         <param name="colorNumber" type="GLuint"/>
         <param name="name" type="const GLchar *"/>
diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml
index 9a777a2..e689b47 100644
--- a/src/mapi/glapi/gen/es_EXT.xml
+++ b/src/mapi/glapi/gen/es_EXT.xml
@@ -914,4 +914,42 @@
     </function>
 </category>
 
+<category name="GL_EXT_blend_func_extended" number="247">
+
+	<function name="BindFragDataLocationIndexedEXT" alias="BindFragDataLocationIndexed"
+            es2="3.0">
+        <param name="program" type="GLuint"/>
+        <param name="colorNumber" type="GLuint"/>
+        <param name="index" type="GLuint"/>
+        <param name="name" type="const GLchar *"/>
+    </function>
+
+    <function name="GetFragDataIndexEXT" alias="GetFragDataIndex"
+            es2="3.0">
+        <param name="program" type="GLuint"/>
+        <param name="name" type="const GLchar *"/>
+        <return type="GLint"/>
+    </function>
+
+    <function name="GetProgramResourceLocationIndexEXT" alias="GetProgramResourceLocationIndex"
+           es2="3.1">
+        <param name="program" type="GLuint"/>
+        <param name="programInterface" type="GLenum"/>
+        <param name="name" type="const GLchar *"/>
+        <return type="GLint"/>
+    </function>
+
+    <enum name="SRC1_COLOR_EXT" value="0x88F9"/>
+    <enum name="SRC1_ALPHA_EXT" value="0x8589"/>
+    <enum name="ONE_MINUS_SRC1_COLOR_EXT" value="0x88FA"/>
+    <enum name="ONE_MINUS_SRC1_ALPHA_EXT" value="0x88FB"/>
+    <enum name="SRC_ALPHA_SATURATE_EXT" value="0x0308"/>
+
+    <enum name="LOCATION_INDEX_EXT" value="0x930F"/>
+
+    <enum name="MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT" value="0x88FC">
+		<size name="Get" mode="get"/>
+     </enum>
+
+</category>
 </OpenGLAPI>
-- 
2.5.0



More information about the mesa-dev mailing list