summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_prim.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-11-06 11:36:09 +0000
committerJosé Fonseca <[email protected]>2012-11-09 13:43:19 +0000
commit7e112c604edd083484a3602d5462400a0effeb78 (patch)
tree9f7340ba27f7e68e14230a10bf8e85fe3ac36c9e /src/gallium/auxiliary/util/u_prim.h
parentb7283834dcd8ee5573b791fa95991f5117fa7352 (diff)
util: Fix reduction of line adjacency primitives.
Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_prim.h')
-rw-r--r--src/gallium/auxiliary/util/u_prim.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_prim.h b/src/gallium/auxiliary/util/u_prim.h
index 070df643d2c..d62c636f2ee 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;