util/primconvert: handle indirect draws
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 21 May 2021 10:31:31 +0000 (06:31 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 23 Jun 2021 03:13:41 +0000 (03:13 +0000)
commit26e718fb37a99adf13ae503155de6a144a323ec1
tree4749e344199c194a89f15213b83454d0e0c285de
parent4673febf919014cb72266b7d978ef6bc6e3aba82
util/primconvert: handle indirect draws

this avoids ping-ponging to the driver, which would have to call back
to here anyway with the unwrapped indirect draw

Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10973>
src/gallium/auxiliary/indices/u_primconvert.c