From 017a1509842e525aab61eb9e6ba237af7d9ab5a9 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Fri, 4 Jun 2021 14:00:47 +0200 Subject: [PATCH] v3dv: expose VK_KHR_storage_buffer_storage_class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This extension is basically only wrapping SPV_KHR_storage_buffer_storage_class which is entirely implemented in the SPIR-V frontend. Relevant CTS tests: dEQP-VK.glsl.opaque_type_indexing.ssbo_storage_buffer_decoration.* dEQP-VK.spirv_assembly.* Reviewed-by: Alejandro PiƱeiro Part-of: --- docs/features.txt | 2 +- src/broadcom/vulkan/v3dv_device.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index e4197bc4200..41789286a88 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -442,7 +442,7 @@ Vulkan 1.1 -- all DONE: anv, lvp, radv, tu, vn VK_KHR_relaxed_block_layout DONE (anv, lvp, radv, tu, v3dv, vn) VK_KHR_sampler_ycbcr_conversion DONE (anv, radv, tu, vn) VK_KHR_shader_draw_parameters DONE (anv, lvp, radv, tu, vn) - VK_KHR_storage_buffer_storage_class DONE (anv, lvp, radv, tu, vn) + VK_KHR_storage_buffer_storage_class DONE (anv, lvp, radv, tu, v3dv, vn) VK_KHR_variable_pointers DONE (anv, lvp, radv, tu, vn) Vulkan 1.2 -- all DONE: anv, vn diff --git a/src/broadcom/vulkan/v3dv_device.c b/src/broadcom/vulkan/v3dv_device.c index 476c504dfdb..60db2a0db7a 100644 --- a/src/broadcom/vulkan/v3dv_device.c +++ b/src/broadcom/vulkan/v3dv_device.c @@ -120,6 +120,7 @@ get_device_extensions(const struct v3dv_physical_device *device, .KHR_maintenance1 = true, .KHR_maintenance2 = true, .KHR_maintenance3 = true, + .KHR_storage_buffer_storage_class = true, #ifdef V3DV_HAS_SURFACE .KHR_swapchain = true, #endif