[Mesa-dev] [PATCH 6/8] r600g: remove assert on draw with count == 0

Automated rebase david.heidelberger at ixit.cz
Fri May 16 16:20:18 PDT 2014


From: Christoph Bumiller <e0425955 at student.tuwien.ac.at>

---
 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 fabc52c..dd3f7f8 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;
 	}
 
-- 
1.9.2



More information about the mesa-dev mailing list