From: Tapani Pälli Date: Fri, 25 Jul 2014 07:20:17 +0000 (+0300) Subject: glapi: add indexed blend functions (GL 4.0) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76b11d15d36db9e83b36efe469c27d68389bb627;p=mesa.git 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 Acked-by: Anuj Phogat Reviewed-by: Brian Paul Reviewed-by: Kenneth Graunke Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78716 --- 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp index 6c4bdee7fd4..5e751f493ff 100644 --- a/src/mesa/main/tests/dispatch_sanity.cpp +++ b/src/mesa/main/tests/dispatch_sanity.cpp @@ -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 },