[Mesa-dev] [PATCH 2/2] anv: Advertise VK_KHR_relaxed_block_layout

Jason Ekstrand jason at jlekstrand.net
Tue Aug 1 16:02:17 UTC 2017


There is literally no work for us to do here.  It already just works in
our driver.
---
 src/intel/vulkan/anv_device.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index f69ebfc..b171c2b 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -477,6 +477,10 @@ static const VkExtensionProperties device_extensions[] = {
       .specVersion = 1,
    },
    {
+      .extensionName = VK_KHR_RELAXED_BLOCK_LAYOUT_EXTENSION_NAME,
+      .specVersion = 1,
+   },
+   {
       .extensionName = VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_EXTENSION_NAME,
       .specVersion = 1,
    },
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list