Mesa (master): util: add new primitive types to pipe_prim_names[] array

Brian Paul brianp at kemper.freedesktop.org
Tue Jan 15 01:15:46 UTC 2013


Module: Mesa
Branch: master
Commit: 1c9833ba70466906d3d2ad3aee6a10642a39abdd
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c9833ba70466906d3d2ad3aee6a10642a39abdd

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 14 17:33:05 2013 -0700

util: add new primitive types to pipe_prim_names[] array

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

---

 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
 };




More information about the mesa-commit mailing list