[Mesa-dev] [PATCH] util: add new primitive types to pipe_prim_names[] array

Jose Fonseca jfonseca at vmware.com
Mon Jan 14 16:48:07 PST 2013


Reviewed-by: Jose Fonseca <jfonseca at vmware.com>

----- Original Message -----
> ---
>  src/gallium/auxiliary/util/u_debug.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/src/gallium/auxiliary/util/u_debug.c
> b/src/gallium/auxiliary/util/u_debug.c
> index ce472b0..6e8c5b9 100644
> --- a/src/gallium/auxiliary/util/u_debug.c
> +++ b/src/gallium/auxiliary/util/u_debug.c
> @@ -386,6 +386,10 @@ static const struct debug_named_value
> pipe_prim_names[] = {
>     DEBUG_NAMED_VALUE(PIPE_PRIM_QUADS),
>     DEBUG_NAMED_VALUE(PIPE_PRIM_QUAD_STRIP),
>     DEBUG_NAMED_VALUE(PIPE_PRIM_POLYGON),
> +   DEBUG_NAMED_VALUE(PIPE_PRIM_LINES_ADJACENCY),
> +   DEBUG_NAMED_VALUE(PIPE_PRIM_LINE_STRIP_ADJACENCY),
> +   DEBUG_NAMED_VALUE(PIPE_PRIM_TRIANGLES_ADJACENCY),
> +   DEBUG_NAMED_VALUE(PIPE_PRIM_TRIANGLE_STRIP_ADJACENCY),
>  #endif
>     DEBUG_NAMED_VALUE_END
>  };
> --
> 1.7.3.4
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 


More information about the mesa-dev mailing list