anv: Export VK_KHR_buffer_device_address only when really supported
authorIván Briano <ivan.briano@intel.com>
Fri, 13 Dec 2019 00:09:00 +0000 (16:09 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 16 Dec 2019 19:24:46 +0000 (19:24 +0000)
Fixes: 1b6991ba1d8 ("anv: Implement VK_KHR_buffer_device_address")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3071>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3071>

src/intel/vulkan/anv_extensions.py

index 9cb8f53558d08358cc2293c184d642ac18f2df54..785a2bcbe977db3dc4d6627ae062f2adbdf6056e 100644 (file)
@@ -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),