pvr: Move PBE START_POS into csb enum helpers header
authorKarmjit Mahil <Karmjit.Mahil@imgtec.com>
Mon, 9 Jan 2023 16:03:53 +0000 (16:03 +0000)
committerMarge Bot <emma+marge@anholt.net>
Fri, 24 Feb 2023 14:36:36 +0000 (14:36 +0000)
commitf59c6eef168f14bb6271432e52ba4d464adc37cd
tree3d202efd2560b21abc72e0733a264fad52c66cdd
parentd2ff8b673a9026b7b64d10144608213b11c9d5fa
pvr: Move PBE START_POS into csb enum helpers header

This commit adds 'pvr_pbestate_source_pos()' and moves
`enum pvr_pbe_source_start_pos` into pvr_csb_enum_helpers.h .
The enum will be needed in other files in the commits following.

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/21386>
src/imagination/vulkan/pvr_csb_enum_helpers.h
src/imagination/vulkan/pvr_job_common.c
src/imagination/vulkan/pvr_job_common.h