From: José Fonseca Date: Tue, 6 Nov 2012 11:36:09 +0000 (+0000) Subject: util: Fix reduction of line adjacency primitives. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e112c604edd083484a3602d5462400a0effeb78;p=mesa.git util: Fix reduction of line adjacency primitives. Reviewed-by: Brian Paul Reviewed-by: Roland Scheidegger --- 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;