turnip: Add limited support for storage images.
authorEric Anholt <eric@anholt.net>
Mon, 9 Dec 2019 21:31:35 +0000 (13:31 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 21 Jan 2020 19:29:59 +0000 (19:29 +0000)
commite5ce365cdea5f01385aaf56d98618624c67bfa5f
tree0d23b9d5170059fc55e39e05de07299e081ea25b
parent85e424c591bf5665981bf60ae4d416afb7a72dce
turnip: Add limited support for storage images.

So far this doesn't handle the texture state-based storage image access
loads, and doesn't support descriptor arrays (same as SSBOs).  The texture
side is more tricky, since we have another remapping table to work around.

This is enough to get some of dEQP-VK.image.atomic_operations.* working.

Reviewed-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3433>
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_descriptor_set.c
src/freedreno/vulkan/tu_image.c
src/freedreno/vulkan/tu_pipeline.c
src/freedreno/vulkan/tu_private.h
src/freedreno/vulkan/tu_shader.c