Module: Mesa
Branch: master
Commit: 304f64bb501f2b6f5760e77859557192c0bf5774
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=304f64bb501f2b6f5760e77859557192c0bf5774

Author: Christoph Bumiller <[email protected]>
Date:   Sat May 17 01:20:18 2014 +0200

r600g: remove assert on draw with count == 0

Signed-off-by: Marek Olšák <[email protected]>

---

 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;
        }
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to