mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
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 <tapani.palli@intel.com> Acked-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78716
This commit is contained in:
parent
a9528cef6b
commit
76b11d15d3
2 changed files with 31 additions and 5 deletions
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -542,11 +542,11 @@ const struct function gl_core_functions_possible[] = {
|
|||
{ "glVertexAttribDivisor", 33, -1 },
|
||||
|
||||
/* GL 4.0 */
|
||||
{ "glMinSampleShading", 40, -1 }, // XXX: Add to xml
|
||||
// { "glBlendEquationi", 40, -1 }, // XXX: Add to xml
|
||||
// { "glBlendEquationSeparatei", 40, -1 }, // XXX: Add to xml
|
||||
// { "glBlendFunci", 40, -1 }, // XXX: Add to xml
|
||||
// { "glBlendFuncSeparatei", 40, -1 }, // XXX: Add to xml
|
||||
{ "glMinSampleShading", 40, -1 },
|
||||
{ "glBlendEquationi", 40, -1 },
|
||||
{ "glBlendEquationSeparatei", 40, -1 },
|
||||
{ "glBlendFunci", 40, -1 },
|
||||
{ "glBlendFuncSeparatei", 40, -1 },
|
||||
|
||||
/* GL 4.3 */
|
||||
{ "glIsRenderbuffer", 43, -1 },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue