Mesa (master): anv: Advertise support for VK_KHR_storage_buffer_storage_class

Jason Ekstrand jekstrand at kemper.freedesktop.org
Tue Jul 18 16:46:32 UTC 2017


Module: Mesa
Branch: master
Commit: bc9319583a98d65deeb78de0e475313a96ec3b57
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc9319583a98d65deeb78de0e475313a96ec3b57

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Thu Jun 29 10:26:53 2017 -0700

anv: Advertise support for VK_KHR_storage_buffer_storage_class

Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>

---

 src/intel/vulkan/anv_device.c           | 4 ++++
 src/intel/vulkan/anv_entrypoints_gen.py | 1 +
 2 files changed, 5 insertions(+)

diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 93a1b77a15..b13d6e0423 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -485,6 +485,10 @@ static const VkExtensionProperties device_extensions[] = {
       .specVersion = 1,
    },
    {
+      .extensionName = VK_KHR_STORAGE_BUFFER_STORAGE_CLASS_EXTENSION_NAME,
+      .specVersion = 1,
+   },
+   {
       .extensionName = VK_KHR_SWAPCHAIN_EXTENSION_NAME,
       .specVersion = 68,
    },
diff --git a/src/intel/vulkan/anv_entrypoints_gen.py b/src/intel/vulkan/anv_entrypoints_gen.py
index e59c4948d5..3be8a0388d 100644
--- a/src/intel/vulkan/anv_entrypoints_gen.py
+++ b/src/intel/vulkan/anv_entrypoints_gen.py
@@ -46,6 +46,7 @@ SUPPORTED_EXTENSIONS = [
     'VK_KHR_push_descriptor',
     'VK_KHR_sampler_mirror_clamp_to_edge',
     'VK_KHR_shader_draw_parameters',
+    'VK_KHR_storage_buffer_storage_class',
     'VK_KHR_surface',
     'VK_KHR_swapchain',
     'VK_KHR_wayland_surface',




More information about the mesa-commit mailing list