tu: Split up prim order computation
authorConnor Abbott <cwabbott0@gmail.com>
Wed, 24 Aug 2022 16:21:34 +0000 (18:21 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 21 Sep 2022 11:20:15 +0000 (11:20 +0000)
commit46b2c6294738cf3b3a29f422a4cde5a2813da619
treea2668edf558ca7156174c875232e16d75f2a6f8e
parent9eca3b12f6771239fe71cc6c36dfdbafc0c4cd42
tu: Split up prim order computation

With pipeline libraries, computing this might have to be delayed because
it depends on multiple pieces of state and there's no way to disentangle
them. Therefore we have to store the requisite state in the pipeline and
combine it later.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18554>
src/freedreno/vulkan/tu_pipeline.c
src/freedreno/vulkan/tu_pipeline.h