From 31469c0265645665815ebca7219fe6e5e5d535eb Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Wed, 19 Jul 2017 23:33:59 +0200 Subject: [PATCH] radv: Add VK_KHR_storage_buffer_storage_class support. Signed-off-by: Bas Nieuwenhuizen Reviewed-by: Connor Abbott Acked-by: Dave Airlie --- src/amd/vulkan/radv_device.c | 4 ++++ src/amd/vulkan/radv_entrypoints_gen.py | 1 + 2 files changed, 5 insertions(+) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index a91b366721b..e3655dabe3a 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -153,6 +153,10 @@ static const VkExtensionProperties common_device_extensions[] = { .extensionName = VK_KHR_EXTERNAL_MEMORY_FD_EXTENSION_NAME, .specVersion = 1, }, + { + .extensionName = VK_KHR_STORAGE_BUFFER_STORAGE_CLASS_EXTENSION_NAME, + .specVersion = 1, + }, }; static VkResult diff --git a/src/amd/vulkan/radv_entrypoints_gen.py b/src/amd/vulkan/radv_entrypoints_gen.py index 22068a5b02d..ec798157f94 100644 --- a/src/amd/vulkan/radv_entrypoints_gen.py +++ b/src/amd/vulkan/radv_entrypoints_gen.py @@ -47,6 +47,7 @@ supported_extensions = [ 'VK_KHR_external_memory_capabilities', 'VK_KHR_external_memory', 'VK_KHR_external_memory_fd', + 'VK_KHR_storage_buffer_storage_class', ] # We generate a static hash table for entry point lookup -- 2.30.2