[Mesa-dev] [PATCH] mesa: add GL_KHR_debug functions to dispatch_sanity.cpp

Ian Romanick idr at freedesktop.org
Wed Sep 4 13:36:02 PDT 2013


In addition to missing make check, I'm pretty sure that all of the
functions that also have an ARB version (from GL_ARB_debug) should alias
those functions.

Arg.

On 09/04/2013 12:30 PM, Brian Paul wrote:
> Fixes 'make check' failures.
> ---
>  src/mesa/main/tests/dispatch_sanity.cpp |   12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp
> index 8d37747..bea6e96 100644
> --- a/src/mesa/main/tests/dispatch_sanity.cpp
> +++ b/src/mesa/main/tests/dispatch_sanity.cpp
> @@ -896,6 +896,18 @@ const struct function gl_core_functions_possible[] = {
>     /* GL_ARB_internalformat_query */
>     { "glGetInternalformativ", 30, -1 },
>  
> +   /* GL_KHR_debug */
> +   { "glPushDebugGroup", 11, -1 },
> +   { "glPopDebugGroup", 11, -1 },
> +   { "glDebugMessageCallback", 11, -1 },
> +   { "glDebugMessageControl", 11, -1 },
> +   { "glDebugMessageInsert", 11, -1 },
> +   { "glGetDebugMessageLog", 11, -1 },
> +   { "glGetObjectLabel", 11, -1 },
> +   { "glGetObjectPtrLabel", 11, -1 },
> +   { "glObjectLabel", 11, -1 },
> +   { "glObjectPtrLabel", 11, -1 },
> +
>     { NULL, 0, -1 }
>  };
>  
> 



More information about the mesa-dev mailing list