Mesa (master): r600g: remove old assert from new codepath

Dave Airlie airlied at kemper.freedesktop.org
Wed Sep 29 04:54:09 UTC 2010


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Sep 29 14:52:39 2010 +1000

r600g: remove old assert from new codepath

this fixes draw-elements-base-vertex

---

 src/gallium/drivers/r600/r600_state2.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_state2.c b/src/gallium/drivers/r600/r600_state2.c
index 9e37af8..5bd3872 100644
--- a/src/gallium/drivers/r600/r600_state2.c
+++ b/src/gallium/drivers/r600/r600_state2.c
@@ -650,8 +650,6 @@ static void r600_draw_vbo2(struct pipe_context *ctx, const struct pipe_draw_info
 	struct r600_pipe_context *rctx = (struct r600_pipe_context *)ctx;
 	struct r600_drawl draw;
 
-	assert(info->index_bias == 0);
-
 	if (rctx->any_user_vbs) {
 		r600_upload_user_buffers2(rctx);
 		rctx->any_user_vbs = FALSE;




More information about the mesa-commit mailing list