nvk: Disable shaderStorageImageReadWithoutFormat pre-Maxwell.
authorEmma Anholt <emma@anholt.net>
Tue, 18 Jul 2023 18:37:14 +0000 (11:37 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:32:07 +0000 (21:32 +0000)
commit758973fb6216b6078c8e35394d2bbb654499a35f
tree3466a17d078b5d2e18033d581776747a1c98dafe
parent1bbfdccc9f4030c186258878a27be1953f532d25
nvk: Disable shaderStorageImageReadWithoutFormat pre-Maxwell.

On Kepler and earlier, image loads must get lowered based on the declared
format, since we don't have a SULDP op.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/vulkan/nvk_image.c
src/nouveau/vulkan/nvk_physical_device.c