pvr: Order tile buffer EOT emits to be last
authorKarmjit Mahil <Karmjit.Mahil@imgtec.com>
Mon, 2 Oct 2023 15:26:58 +0000 (16:26 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 11 Oct 2023 08:19:30 +0000 (08:19 +0000)
commitbfcb88ea9995f50c27d8531688223fe2ff22ff63
tree75a384f2bf7c71b869e2f9f90f720f269c6c484f
parent9d1fc4de725599fb942d8497a0005be166254f4f
pvr: Order tile buffer EOT emits to be last

Tile buffer emits required a load from the tile buffer into the
output regs, so they must be placed at the end of the EOT program
as to not corrupt the output register emits.

This commit orders the emit state to place output register emits
first, and tile buffer emits last.

dEQP test fixed:
  dEQP-VK.renderpass.suballocation.attachment.4.422
  ... and others from the dEQP-VK.renderpass.suballocation.*

Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25584>
src/imagination/vulkan/pvr_cmd_buffer.c