diff --git a/.pick_status.json b/.pick_status.json index 78e1dc891cf..517f56c6785 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -13,7 +13,7 @@ "description": "r600: don't set an index_bias for indirect draw calls", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": "c6c532faa8cf172715b38783ec7175b626a63944" }, diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c index 6624a2af25d..b1b7936859f 100644 --- a/src/gallium/drivers/r600/r600_state_common.c +++ b/src/gallium/drivers/r600/r600_state_common.c @@ -2225,7 +2225,7 @@ static void r600_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info } index_bias = info->index_bias; } else { - index_bias = draws[0].start; + index_bias = indirect ? 0 : draws[0].start; } /* Set the index offset and primitive restart. */