70aa470bdb
When programming the size, we should take into account the offset from the start of the index buffer address. cc: mesa-stable Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29425>