[Mesa-stable] [Mesa-dev] [PATCH] mesa: add missing DebugMessageControl types

Timothy Arceri t_arceri at yahoo.com.au
Thu Feb 27 21:03:23 PST 2014


Forgot to CC stable. This should apply to both 10 branches.




On Sunday, 23 February 2014 9:55 PM, Timothy Arceri <t_arceri at yahoo.com.au> wrote:
 
To make reviewing easier here is the relevant piece of the spec

"Tokens accepted or provided by the <type> parameters of
DebugMessageControl and DEBUGPROC, and the <types> parameter of
GetDebugMessageLog:

        DEBUG_TYPE_PUSH_GROUP                            0x8269  
        DEBUG_TYPE_POP_GROUP                             0x826A"


On Wed, 2014-02-19 at 21:43 +1100, Timothy Arceri wrote:
> Signed-off-by: Timothy Arceri <t_arceri at yahoo.com.au>
> ---
>  src/mesa/main/errors.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/src/mesa/main/errors.c b/src/mesa/main/errors.c
> index 5f4eac6..c00c796 100644
> --- a/src/mesa/main/errors.c
> +++ b/src/mesa/main/errors.c
> @@ -575,6 +575,11 @@ validate_params(struct gl_context *ctx, unsigned caller,
>        /* this value is only valid for GL_KHR_debug functions */
>        if (caller == CONTROL || caller == INSERT)
>           break;
> +   case GL_DEBUG_TYPE_PUSH_GROUP:
> +   case GL_DEBUG_TYPE_POP_GROUP:
> +      /* this value is only valid for GL_KHR_debug */
> +      if (caller == CONTROL)
> +         break;
>     case GL_DONT_CARE:
>        if (caller == CONTROL || caller == CONTROL_ARB)
>           break;


_______________________________________________
mesa-dev mailing list
mesa-dev at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-stable/attachments/20140227/4041cc88/attachment.html>


More information about the mesa-stable mailing list