Mesa (master): tgsi: make sure that we print out the adjacency prims correctly

Zack Rusin zack at kemper.freedesktop.org
Wed Jul 14 01:50:25 UTC 2010


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

Author: Zack Rusin <zackr at vmware.com>
Date:   Sat Jul 10 18:14:14 2010 -0400

tgsi: make sure that we print out the adjacency prims correctly

---

 src/gallium/auxiliary/tgsi/tgsi_dump.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.c b/src/gallium/auxiliary/tgsi/tgsi_dump.c
index 9fcc28f..f71ffb7 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_dump.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_dump.c
@@ -176,7 +176,11 @@ static const char *primitive_names[] =
    "TRIANGLE_FAN",
    "QUADS",
    "QUAD_STRIP",
-   "POLYGON"
+   "POLYGON",
+   "LINES_ADJACENCY",
+   "LINE_STRIP_ADJACENCY",
+   "TRIANGLES_ADJACENCY",
+   "TRIANGLE_STRIP_ADJACENCY"
 };
 
 static const char *fs_coord_origin_names[] =




More information about the mesa-commit mailing list