pvr: Fix pbe_emit assert
authorKarmjit Mahil <Karmjit.Mahil@imgtec.com>
Wed, 27 Sep 2023 18:30:25 +0000 (19:30 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 11 Oct 2023 08:19:30 +0000 (08:19 +0000)
commite5feea38262b479b402e2cb07ff336b4f1638879
tree2075f9f7bfbea006cd5e67260d5089e0a8c42ebb
parente6c1e0e51887e778cde75bbf9d4df780cffcfdc9
pvr: Fix pbe_emit assert

The `eot_surface_count` also includes surfaces which don't need an
emit. Surfaces with PVR_RESOLVE_TYPE_TRANSFER don't need an emit
since they'll be resolved through a transfer op, but they still count
against the total, thus the assert was incorrect.

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