summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIván Briano <[email protected]>2019-12-12 16:09:00 -0800
committerMarge Bot <[email protected]>2019-12-16 19:24:46 +0000
commita649bbffee579b306a2d12f252d0f3230b2402b5 (patch)
tree50bb5e3b3d54aecd9e2ba35596808db8e69699ac /src
parent0fd93b95898f8048ced8aa9f8db5472d4309b9e0 (diff)
anv: Export VK_KHR_buffer_device_address only when really supported
Fixes: 1b6991ba1d8 ("anv: Implement VK_KHR_buffer_device_address") Reviewed-by: Lionel Landwerlin <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3071> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3071>
Diffstat (limited to 'src')
-rw-r--r--src/intel/vulkan/anv_extensions.py2
1 files changed, 1 insertions, 1 deletions
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),