From 83116d084f254cb8fcb58d240af10cf40a444cde Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Sun, 28 Aug 2016 19:53:02 -0400 Subject: [PATCH] mesa: introduce glPrimitiveBoundingBoxARB entrypoint This requires a bit of rejiggering, since normally ES entrypoints alias core ones, not vice-versa. Signed-off-by: Ilia Mirkin Reviewed-by: Ian Romanick Reviewed-by: Kenneth Graunke --- src/mapi/glapi/gen/es_EXT.xml | 19 ------------- src/mapi/glapi/gen/gl_API.xml | 37 +++++++++++++++++++++++++ src/mesa/main/tests/dispatch_sanity.cpp | 3 ++ 3 files changed, 40 insertions(+), 19 deletions(-) diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml index b9fbec40cab..332dc5eb7bd 100644 --- a/src/mapi/glapi/gen/es_EXT.xml +++ b/src/mapi/glapi/gen/es_EXT.xml @@ -1342,23 +1342,4 @@ - - - - - - - - - - - - - - - - - - - diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index c39aa222503..17c59db97a7 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -8318,6 +8318,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp index 42fe61aed43..c87b1dc19c9 100644 --- a/src/mesa/main/tests/dispatch_sanity.cpp +++ b/src/mesa/main/tests/dispatch_sanity.cpp @@ -1866,6 +1866,9 @@ const struct function gl_core_functions_possible[] = { { "glMultiDrawArraysIndirectCountARB", 31, -1 }, { "glMultiDrawElementsIndirectCountARB", 31, -1 }, + /* GL_ARB_ES3_2_compatibility */ + { "glPrimitiveBoundingBoxARB", 45, -1 }, + { NULL, 0, -1 } }; -- 2.30.2