From: Zack Rusin Date: Thu, 28 Mar 2013 03:13:13 +0000 (-0700) Subject: draw/so: Fix bogus assert X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6bfb62c500c059464e66a4246a2e6089752d3db;p=mesa.git draw/so: Fix bogus assert We do support so with multiple primitives. Signed-off-by: Zack Rusin Reviewed-by: José Fonseca --- diff --git a/src/gallium/auxiliary/draw/draw_so_emit_tmp.h b/src/gallium/auxiliary/draw/draw_so_emit_tmp.h index ec31c3ff32f..4611cd00426 100644 --- a/src/gallium/auxiliary/draw/draw_so_emit_tmp.h +++ b/src/gallium/auxiliary/draw/draw_so_emit_tmp.h @@ -12,7 +12,6 @@ const boolean quads_flatshade_last = FALSE; \ const boolean last_vertex_last = TRUE; \ do { \ - debug_assert(input_prims->primitive_count == 1); \ switch (prim) { \ case PIPE_PRIM_LINES_ADJACENCY: \ case PIPE_PRIM_LINE_STRIP_ADJACENCY: \