turnip: Add basic SSBO support.
authorEric Anholt <eric@anholt.net>
Mon, 2 Dec 2019 22:32:53 +0000 (14:32 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 5 Dec 2019 04:32:15 +0000 (20:32 -0800)
commite46da7dbeae4b1138fc9e0db7a144d8edbed50e5
tree12742d371497cba69445670f6cbfae91bda828f0
parent1f4e8f3c46c8ca348e127eff2078bf0ae77a2a49
turnip: Add basic SSBO support.

This is enough to pass
dEQP-VK.binding_model.shader_access.primary_cmd_buf.storage_buffer.fragment.single_descriptor.*
with fragmentStoresAndAtomics set, and thus to be able to start working on
compute.  I haven't enabled that flag yet, because it also implies image
load/store support, which I haven't filled in.

Reviewed-by: Jonathan Marek <jonathan@marek.ca>
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_pipeline.c
src/freedreno/vulkan/tu_private.h