summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/GL4x.xml
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2014-07-25 10:20:17 +0300
committerKenneth Graunke <[email protected]>2014-07-28 16:26:27 -0700
commit76b11d15d36db9e83b36efe469c27d68389bb627 (patch)
treeaa7cb16185932777a4b8f58f93d2ddd48c45318a /src/mapi/glapi/gen/GL4x.xml
parenta9528cef6b6ff4875c9d125a60b7309a2ad24766 (diff)
glapi: add indexed blend functions (GL 4.0)
This makes some of the UE4 engine demos (Stylized, Mobile Temple) render correctly, tested on Intel Haswell machine. Signed-off-by: Tapani Pälli <[email protected]> Acked-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78716
Diffstat (limited to 'src/mapi/glapi/gen/GL4x.xml')
-rw-r--r--src/mapi/glapi/gen/GL4x.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/GL4x.xml b/src/mapi/glapi/gen/GL4x.xml
index 8efef0b9159..848316e9eda 100644
--- a/src/mapi/glapi/gen/GL4x.xml
+++ b/src/mapi/glapi/gen/GL4x.xml
@@ -12,6 +12,32 @@
<function name="MinSampleShading" offset="assign">
<param name="value" type="GLfloat"/>
</function>
+
+ <function name="BlendFunci" static_dispatch="false" alias="BlendFunciARB">
+ <param name="buf" type="GLuint"/>
+ <param name="sfactor" type="GLenum"/>
+ <param name="dfactor" type="GLenum"/>
+ </function>
+
+ <function name="BlendFuncSeparatei" static_dispatch="false" alias="BlendFuncSeparateiARB">
+ <param name="buf" type="GLuint"/>
+ <param name="sfactorRGB" type="GLenum"/>
+ <param name="dfactorRGB" type="GLenum"/>
+ <param name="sfactorAlpha" type="GLenum"/>
+ <param name="dfactorAlpha" type="GLenum"/>
+ </function>
+
+ <function name="BlendEquationi" static_dispatch="false" alias="BlendEquationiARB">
+ <param name="buf" type="GLuint"/>
+ <param name="mode" type="GLenum"/>
+ </function>
+
+ <function name="BlendEquationSeparatei" static_dispatch="false" alias="BlendEquationSeparateiARB" >
+ <param name="buf" type="GLuint"/>
+ <param name="modeRGB" type="GLenum"/>
+ <param name="modeA" type="GLenum"/>
+ </function>
+
</category>
<category name="4.3">