Mesa (master): r600g: remove assert on draw with count == 0
Marek Olšák
mareko at kemper.freedesktop.org
Mon Jun 2 10:57:26 UTC 2014
Module: Mesa
Branch: master
Commit: 304f64bb501f2b6f5760e77859557192c0bf5774
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=304f64bb501f2b6f5760e77859557192c0bf5774
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Sat May 17 01:20:18 2014 +0200
r600g: remove assert on draw with count == 0
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
---
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;
}
More information about the mesa-commit
mailing list