r600g: remove assert on draw with count == 0
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Fri, 16 May 2014 23:20:18 +0000 (01:20 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 2 Jun 2014 10:49:03 +0000 (12:49 +0200)
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r600/r600_state_common.c

index fabc52cf116c90498a63d867aefaddecda62ece6..dd3f7f8cc0c6fcb110bd954f507f39fcf69d33f8 100644 (file)
@@ -1325,7 +1325,6 @@ static void r600_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info
        struct radeon_winsys_cs *cs = rctx->b.rings.gfx.cs;
 
        if (!info.count && (info.indexed || !info.count_from_stream_output)) {
-               assert(0);
                return;
        }