diff --git a/.pick_status.json b/.pick_status.json index 33178bb4058..b1e8595e0f1 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -5184,7 +5184,7 @@ "description": "panfrost: make sure INDEX_OFFSET is cleared", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/gallium/drivers/panfrost/pan_csf.c b/src/gallium/drivers/panfrost/pan_csf.c index 474d39c129d..af4ae8e46da 100644 --- a/src/gallium/drivers/panfrost/pan_csf.c +++ b/src/gallium/drivers/panfrost/pan_csf.c @@ -1364,6 +1364,7 @@ GENX(csf_launch_draw)(struct panfrost_batch *batch, cs_move32_to(b, cs_sr_reg32(b, IDVS, INDEX_COUNT), draw->count); cs_move32_to(b, cs_sr_reg32(b, IDVS, INSTANCE_COUNT), info->instance_count); + cs_move32_to(b, cs_sr_reg32(b, IDVS, INDEX_OFFSET), 0); cs_move32_to(b, cs_sr_reg32(b, IDVS, INSTANCE_OFFSET), 0); /* Base vertex offset on Valhall is used for both indexed and