summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-07-19 23:33:59 +0200
committerBas Nieuwenhuizen <[email protected]>2017-07-20 09:13:01 +0200
commit31469c0265645665815ebca7219fe6e5e5d535eb (patch)
tree42632016cf64989fea0fdee0895f66b3c0fcf74d
parent98240f6399657d10832106282107c117a03d015a (diff)
radv: Add VK_KHR_storage_buffer_storage_class support.
Signed-off-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Connor Abbott <[email protected]> Acked-by: Dave Airlie <[email protected]>
-rw-r--r--src/amd/vulkan/radv_device.c4
-rw-r--r--src/amd/vulkan/radv_entrypoints_gen.py1
2 files changed, 5 insertions, 0 deletions
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