From 304f64bb501f2b6f5760e77859557192c0bf5774 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Sat, 17 May 2014 01:20:18 +0200 Subject: [PATCH] r600g: remove assert on draw with count == 0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Marek Olšák --- src/gallium/drivers/r600/r600_state_common.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c index fabc52cf116..dd3f7f8cc0c 100644 --- a/src/gallium/drivers/r600/r600_state_common.c +++ b/src/gallium/drivers/r600/r600_state_common.c @@ -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; } -- 2.30.2