summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2014-05-17 01:20:18 +0200
committerMarek Olšák <[email protected]>2014-06-02 12:49:03 +0200
commit304f64bb501f2b6f5760e77859557192c0bf5774 (patch)
tree5d658f9478609d12f888387a93a5c0d550ea0986
parent476aaf8b8ee77d84c295e1429035e92ecf3a7349 (diff)
r600g: remove assert on draw with count == 0
Signed-off-by: Marek Olšák <[email protected]>
-rw-r--r--src/gallium/drivers/r600/r600_state_common.c1
1 files changed, 0 insertions, 1 deletions
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;
}