From a8ae1bc7672ea7c40d4116959388e212a2702be6 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Fri, 1 Apr 2016 22:08:13 -0400 Subject: [PATCH] glapi: add KHR_blend_equation_advanced dispatch v2 (Ken): Fix enum values, drop _mesa_BlendBarrierKHR stub as Curro has already implemented it. v3 (Ken): Rework for _mesa_BlendBarrierKHR -> _mesa_BlendBarrier rename. Signed-off-by: Ilia Mirkin Signed-off-by: Kenneth Graunke Reviewed-by: Francisco Jerez --- src/mapi/glapi/gen/gl_API.xml | 24 ++++++++++++++++++++++++ src/mesa/main/tests/dispatch_sanity.cpp | 6 ++++++ 2 files changed, 30 insertions(+) diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index 79e1ba17c31..b5d010bbdf8 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -8294,6 +8294,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp index cfbf70dc5f0..a0bdd178cef 100644 --- a/src/mesa/main/tests/dispatch_sanity.cpp +++ b/src/mesa/main/tests/dispatch_sanity.cpp @@ -955,6 +955,9 @@ const struct function common_desktop_functions_possible[] = { /* GL_EXT_window_rectangles */ { "glWindowRectanglesEXT", 30, -1 }, + /* GL_KHR_blend_equation_advanced */ + { "glBlendBarrierKHR", 20, -1 }, + { NULL, 0, -1 } }; @@ -2322,6 +2325,9 @@ const struct function gles2_functions_possible[] = { { "glGetnUniformivKHR", 20, -1 }, { "glGetnUniformuivKHR", 20, -1 }, + /* GL_KHR_blend_equation_advanced */ + { "glBlendBarrierKHR", 20, -1 }, + { NULL, 0, -1 } }; -- 2.30.2