[Mesa-dev] [PATCH 2/2] draw/so: Fix bogus assert

Jose Fonseca jfonseca at vmware.com
Fri Mar 29 03:37:06 PDT 2013



----- Original Message -----
> We do support so with multiple primitives.
> 
> Signed-off-by: Zack Rusin <zackr at vmware.com>
> ---
>  src/gallium/auxiliary/draw/draw_so_emit_tmp.h |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/gallium/auxiliary/draw/draw_so_emit_tmp.h
> b/src/gallium/auxiliary/draw/draw_so_emit_tmp.h
> index ec31c3f..4611cd0 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:                        \
> --
> 1.7.10.4
> 
> 


Reviewed-by: Jose Fonseca <jfonseca at vmware.com>


More information about the mesa-dev mailing list