From: Iván Briano Date: Fri, 13 Dec 2019 00:09:00 +0000 (-0800) Subject: anv: Export VK_KHR_buffer_device_address only when really supported X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a649bbffee579b306a2d12f252d0f3230b2402b5;p=mesa.git 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: --- 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),