freedreno/a6xx: Emit VFD setup as array writes
authorKristian H. Kristensen <hoegsberg@google.com>
Fri, 15 May 2020 22:11:55 +0000 (15:11 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 21 May 2020 00:16:55 +0000 (00:16 +0000)
commit1c21577246691589f0295081d208894082444a02
treea88575ed1b30ead9d878c12130434397c9912133
parent5f494636faf00ac5a2f6e88b0100c642fc04536a
freedreno/a6xx: Emit VFD setup as array writes

We can use only one PKT4 for each of VFD_FETCH, VFD_DECODE and
VFD_DEST_CNTL and write all the elements if we split the loop into
three loops.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5064>
src/gallium/drivers/freedreno/a6xx/fd6_emit.c