[Mesa-dev] [PATCH 03/11] util: Fix reduction of line adjacency primitives.

jfonseca at vmware.com jfonseca at vmware.com
Wed Nov 7 07:26:15 PST 2012


From: José Fonseca <jfonseca at vmware.com>

---
 src/gallium/auxiliary/util/u_prim.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/auxiliary/util/u_prim.h b/src/gallium/auxiliary/util/u_prim.h
index 070df64..d62c636 100644
--- a/src/gallium/auxiliary/util/u_prim.h
+++ b/src/gallium/auxiliary/util/u_prim.h
@@ -118,7 +118,9 @@ static INLINE unsigned u_reduced_prim( unsigned pipe_prim )
       return PIPE_PRIM_POINTS;
 
    case PIPE_PRIM_LINES:
+   case PIPE_PRIM_LINES_ADJACENCY:
    case PIPE_PRIM_LINE_STRIP:
+   case PIPE_PRIM_LINE_STRIP_ADJACENCY:
    case PIPE_PRIM_LINE_LOOP:
       return PIPE_PRIM_LINES;
 
-- 
1.7.9.5



More information about the mesa-dev mailing list