summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2023-05-03 16:36:25 -0400
committerMarge Bot <emma+marge@anholt.net>2023-05-16 00:11:12 +0000
commit5dd63a69dad996fad50788598753f69255053294 (patch)
treea3eeaa21839036c5a117940d9ce7ac62f8b5dcbf
parentb88006fb9f615fd1e6782415ee0244c6f3953da3 (diff)
downloadmesa-5dd63a69dad996fad50788598753f69255053294.tar.gz
zink: hook up some memory extensions
enabling VK_EXT_pageable_device_local_memory guarantees that host memory allocations will not consume device-local memory and enables overallocation of device memory when paging can be done Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22855>
-rw-r--r--src/gallium/drivers/zink/zink_device_info.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/zink/zink_device_info.py b/src/gallium/drivers/zink/zink_device_info.py
index 3ab5802dcd6..4ef8c54baa8 100644
--- a/src/gallium/drivers/zink/zink_device_info.py
+++ b/src/gallium/drivers/zink/zink_device_info.py
@@ -123,6 +123,8 @@ EXTENSIONS = [
alias="driver",
properties=True),
Extension("VK_EXT_memory_budget"),
+ Extension("VK_EXT_memory_priority", alias="memprio", features=True),
+ Extension("VK_EXT_pageable_device_local_memory", alias="mempage", features=True),
Extension("VK_KHR_draw_indirect_count"),
Extension("VK_EXT_shader_object", alias="shobj", features=True, properties=True),
Extension("VK_EXT_attachment_feedback_loop_layout",