lavapipe: fix indexed multi draw draw_id increment
authorDave Airlie <airlied@redhat.com>
Thu, 15 Jul 2021 05:24:35 +0000 (15:24 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 15 Jul 2021 19:41:12 +0000 (05:41 +1000)
commit5447330a25f82eff4b449fb5a0304e1d4a762821
treeaca06a126e406ade782e7605b4bcf5b8a29ce08c
parentbb35195b73824d2aa4ac89aa80ff84f54bc9b108
lavapipe: fix indexed multi draw draw_id increment

I cut-n-paste this badly from the non-indexed, and used the wrong
struct.

Fixes a bunch of multi-draw CTS

Fixes: cc8f7dbf2a1a ("lavapipe: fix multi-draw regression in shader parameters test")
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11899>
src/gallium/frontends/lavapipe/lvp_execute.c