From a649bbffee579b306a2d12f252d0f3230b2402b5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Iv=C3=A1n=20Briano?= Date: Thu, 12 Dec 2019 16:09:00 -0800 Subject: [PATCH] anv: Export VK_KHR_buffer_device_address only when really supported Fixes: 1b6991ba1d8 ("anv: Implement VK_KHR_buffer_device_address") Reviewed-by: Lionel Landwerlin Tested-by: Marge Bot Part-of: --- src/intel/vulkan/anv_extensions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_extensions.py b/src/intel/vulkan/anv_extensions.py index 9cb8f53558d..785a2bcbe97 100644 --- a/src/intel/vulkan/anv_extensions.py +++ b/src/intel/vulkan/anv_extensions.py @@ -67,7 +67,7 @@ EXTENSIONS = [ Extension('VK_KHR_8bit_storage', 1, 'device->info.gen >= 8'), Extension('VK_KHR_16bit_storage', 1, 'device->info.gen >= 8'), Extension('VK_KHR_bind_memory2', 1, True), - Extension('VK_KHR_buffer_device_address', 1, True), + Extension('VK_KHR_buffer_device_address', 1, 'device->has_a64_buffer_access'), Extension('VK_KHR_create_renderpass2', 1, True), Extension('VK_KHR_dedicated_allocation', 1, True), Extension('VK_KHR_depth_stencil_resolve', 1, True), -- 2.30.2