From 5dd63a69dad996fad50788598753f69255053294 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 3 May 2023 16:36:25 -0400 Subject: [PATCH] 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: --- src/gallium/drivers/zink/zink_device_info.py | 2 ++ 1 file changed, 2 insertions(+) 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",