pvr: Handle barrier load and store flags.
authorKarmjit Mahil <Karmjit.Mahil@imgtec.com>
Mon, 5 Dec 2022 16:06:03 +0000 (16:06 +0000)
committerMarge Bot <emma+marge@anholt.net>
Tue, 30 May 2023 10:36:21 +0000 (10:36 +0000)
commit43f0fef92f48b29ecc7ada4a4b2e895704c0f886
tree3099a6b094a3ab37bee706bf8d554f8c56c03cb3
parenta04f244c0c0500cbc2cfd41a9fe27c5dbcc52adb
pvr: Handle barrier load and store flags.

This commit adds handling for {s,z}loaden and {s,z}storeen to
control loading from and storing to the stencil and depth buffer.

This commit also addressed the FIXMEs around barrier_{load,store}
which control the {s,z}{load,store}en.

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/20487>
src/imagination/vulkan/pvr_cmd_buffer.c
src/imagination/vulkan/pvr_job_render.c
src/imagination/vulkan/pvr_job_render.h