summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/tests
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2014-03-08 15:35:54 +1100
committerTimothy Arceri <[email protected]>2014-03-08 15:38:31 +1100
commitfb78fa58d2a60110bfd428ca8d41b746b69b6724 (patch)
tree5bf4700ba271ba5e19a17e5b4d126ff08a0764bf /src/mesa/main/tests
parent0608d346aa1930e40c7a1e7e676e5668519b5fea (diff)
mesa: make ARB_debug_output functions an alias of
KHR_debug Also update dispatch sanity removing ARB_debug_output checks and removing KHR_debug placeholders as the checks have already been added V2: Make sure we exit case statements with conditional breaks rather than just dropping through. Signed-off-by: Timothy Arceri <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/tests')
-rw-r--r--src/mesa/main/tests/dispatch_sanity.cpp21
1 files changed, 6 insertions, 15 deletions
diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp
index d1b00116e26..8ff975fe5ac 100644
--- a/src/mesa/main/tests/dispatch_sanity.cpp
+++ b/src/mesa/main/tests/dispatch_sanity.cpp
@@ -797,10 +797,6 @@ const struct function gl_core_functions_possible[] = {
{ "glGetFloati_v", 43, -1 },
{ "glGetDoublei_v", 43, -1 },
// { "glCreateSyncFromCLeventARB", 43, -1 }, // XXX: Add to xml
- { "glDebugMessageControlARB", 43, -1 },
- { "glDebugMessageInsertARB", 43, -1 },
- { "glDebugMessageCallbackARB", 43, -1 },
- { "glGetDebugMessageLogARB", 43, -1 },
{ "glGetGraphicsResetStatusARB", 43, -1 },
{ "glGetnMapdvARB", 43, -1 },
{ "glGetnMapfvARB", 43, -1 },
@@ -836,16 +832,6 @@ const struct function gl_core_functions_possible[] = {
{ "glTextureStorage1DEXT", 43, -1 },
{ "glTextureStorage2DEXT", 43, -1 },
{ "glTextureStorage3DEXT", 43, -1 },
-// { "glDebugMessageControl", 43, -1 }, // XXX: Add to xml
-// { "glDebugMessageInsert", 43, -1 }, // XXX: Add to xml
-// { "glDebugMessageCallback", 43, -1 }, // XXX: Add to xml
-// { "glGetDebugMessageLog", 43, -1 }, // XXX: Add to xml
-// { "glPushDebugGroup", 43, -1 }, // XXX: Add to xml
-// { "glPopDebugGroup", 43, -1 }, // XXX: Add to xml
-// { "glObjectLabel", 43, -1 }, // XXX: Add to xml
-// { "glGetObjectLabel", 43, -1 }, // XXX: Add to xml
-// { "glObjectPtrLabel", 43, -1 }, // XXX: Add to xml
-// { "glGetObjectPtrLabel", 43, -1 }, // XXX: Add to xml
{ "glClearBufferData", 43, -1 },
{ "glClearBufferSubData", 43, -1 },
// { "glClearNamedBufferDataEXT", 43, -1 }, // XXX: Add to xml
@@ -896,7 +882,7 @@ const struct function gl_core_functions_possible[] = {
/* GL_ARB_internalformat_query */
{ "glGetInternalformativ", 30, -1 },
- /* GL_KHR_debug */
+ /* GL_KHR_debug/GL_ARB_debug_output */
{ "glPushDebugGroup", 11, -1 },
{ "glPopDebugGroup", 11, -1 },
{ "glDebugMessageCallback", 11, -1 },
@@ -907,6 +893,11 @@ const struct function gl_core_functions_possible[] = {
{ "glGetObjectPtrLabel", 11, -1 },
{ "glObjectLabel", 11, -1 },
{ "glObjectPtrLabel", 11, -1 },
+ /* aliased versions checked above */
+ //{ "glDebugMessageControlARB", 11, -1 },
+ //{ "glDebugMessageInsertARB", 11, -1 },
+ //{ "glDebugMessageCallbackARB", 11, -1 },
+ //{ "glGetDebugMessageLogARB", 11, -1 },
/* GL_AMD_performance_monitor */
{ "glGetPerfMonitorGroupsAMD", 11, -1 },