util: Fix reduction of line adjacency primitives.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 6 Nov 2012 11:36:09 +0000 (11:36 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 9 Nov 2012 13:43:19 +0000 (13:43 +0000)
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/util/u_prim.h

index 070df643d2c18edf8c3b2e9d5786f765b16d4379..d62c636f2eec27249fcb6f2f8d7e0da2f55be3c0 100644 (file)
@@ -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;