pvr: Reorder execution in pvr_cmd_buffer_end_sub_cmd()
authorMatt Coster <matt.coster@imgtec.com>
Tue, 16 May 2023 08:37:46 +0000 (09:37 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 30 May 2023 10:00:37 +0000 (10:00 +0000)
commita04f244c0c0500cbc2cfd41a9fe27c5dbcc52adb
tree1d1cd80b337f67e7df3790e241e9f7d794c931b6
parent173df8f15d55020f06f50babb414a8f429111f66
pvr: Reorder execution in pvr_cmd_buffer_end_sub_cmd()

This allows sub_cmd->job.run_frag to be setup before calling
pvr_sub_cmd_gfx_requires_split_submit().

Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reported-by: James Glanville <james.glanville@imgtec.com>
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23125>
src/imagination/vulkan/pvr_cmd_buffer.c