draw/so: Fix bogus assert
authorZack Rusin <zackr@vmware.com>
Thu, 28 Mar 2013 03:13:13 +0000 (20:13 -0700)
committerZack Rusin <zackr@vmware.com>
Wed, 3 Apr 2013 17:16:25 +0000 (10:16 -0700)
We do support so with multiple primitives.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_so_emit_tmp.h

index ec31c3ff32f73b0d55ae8bb9dbb36f99d027fca0..4611cd004265470ccb88367a86bced0f971da5e7 100644 (file)
@@ -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:                        \