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 <shenghua.lin@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33767>
This commit is contained in:
Lucas Fryzek
2025-02-17 16:04:21 +00:00
committed by Marge Bot
parent f01ad7c34c
commit b37bcd01ed
2 changed files with 5 additions and 1 deletions

View File

@@ -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)

View File

@@ -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,