[Mesa-dev] [PATCH 1/2] radv: Add VK_KHR_storage_buffer_storage_class support.

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Wed Jul 19 22:29:36 UTC 2017


Signed-off-by: Bas Nieuwenhuizen <basni at google.com>
---
 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.13.2



More information about the mesa-dev mailing list