freedreno: Add INDIRECT_COUNT CP_DRAW_INDIRECT_MULTI variants
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 21 Jul 2020 08:48:16 +0000 (10:48 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Fri, 24 Jul 2020 17:20:44 +0000 (19:20 +0200)
commitcd78a7a5ff5590bdc3c118e553affd11d9438cf7
tree29cd7ebf12e3ab1aff88fcc025eb7dc924549297
parent8da31ee15ff8a90d15734615571acc82f2aa7706
freedreno: Add INDIRECT_COUNT CP_DRAW_INDIRECT_MULTI variants

These have an indirect count which is loaded from an iova, and the
minimum is taken between the indirect and direct counts. Note, I also
had to fix gen_header.py to deal with the extra-long names we get.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6007>
src/freedreno/registers/adreno_pm4.xml
src/freedreno/registers/gen_header.py