From b37bcd01ed5af31fc29b360020e07a51a68ca539 Mon Sep 17 00:00:00 2001 From: Lucas Fryzek Date: Mon, 17 Feb 2025 16:04:21 +0000 Subject: [PATCH] anv: Expose VK_EXT_device_memory_report Also mark VK_EXT_device_memory_report as supported by anv in docs/features.txt Co-authored-by: shenghualin Reviewed-by: Lionel Landwerlin Part-of: --- docs/features.txt | 2 +- src/intel/vulkan/anv_physical_device.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index d04618b377d..db29417f00a 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -598,7 +598,7 @@ Khronos extensions that are not part of any Vulkan version: VK_EXT_device_address_binding_report DONE (radv, tu) VK_EXT_device_fault DONE (radv) VK_EXT_device_generated_commands DONE (nvk/Turing+, radv/gfx8+) - VK_EXT_device_memory_report DONE (radv, vn) + VK_EXT_device_memory_report DONE (anv, radv, vn) VK_EXT_direct_mode_display DONE (anv, lvp, nvk, radv, tu, v3dv, vn) VK_EXT_discard_rectangles DONE (radv) VK_EXT_display_control DONE (anv, hasvk, nvk, radv, tu) diff --git a/src/intel/vulkan/anv_physical_device.c b/src/intel/vulkan/anv_physical_device.c index 17c8d4672dc..57c9a35e35d 100644 --- a/src/intel/vulkan/anv_physical_device.c +++ b/src/intel/vulkan/anv_physical_device.c @@ -267,6 +267,7 @@ get_device_extensions(const struct anv_physical_device *device, .EXT_depth_range_unrestricted = device->info.ver >= 20, .EXT_descriptor_buffer = true, .EXT_descriptor_indexing = true, + .EXT_device_memory_report = true, #ifdef VK_USE_PLATFORM_DISPLAY_KHR .EXT_display_control = true, #endif @@ -589,6 +590,9 @@ get_features(const struct anv_physical_device *pdevice, /* VK_EXT_global_priority_query */ .globalPriorityQuery = true, + /* VK_EXT_device_memory_report */ + .deviceMemoryReport = true, + /* VK_EXT_graphics_pipeline_library */ .graphicsPipelineLibrary = pdevice->vk.supported_extensions.EXT_graphics_pipeline_library,