util: add new primitive types to pipe_prim_names[] array
authorBrian Paul <brianp@vmware.com>
Tue, 15 Jan 2013 00:33:05 +0000 (17:33 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 15 Jan 2013 01:15:41 +0000 (18:15 -0700)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/util/u_debug.c

index ce472b0204ed1471e0cfabf5e5e28f8385ff5aa7..6e8c5b99376cc697060afd393c118da263f61751 100644 (file)
@@ -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
 };