diff --git a/src/gallium/drivers/panfrost/pan_csf.c b/src/gallium/drivers/panfrost/pan_csf.c index 35207942b62..2389926de3b 100644 --- a/src/gallium/drivers/panfrost/pan_csf.c +++ b/src/gallium/drivers/panfrost/pan_csf.c @@ -1383,6 +1383,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