mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
pvr: Add VK_KHR_get_memory_requirements2
We already expose the *2() functions and allow the common vulkan code to provide the vulkan 1.0 equivalents, so we might as well expose this extension. The runtime also provides common implementations for the *2() functions based on VK_KHR_maintenance4, but those functions require the requirements to be evaluated without creating a resource; that would need significantly more refactoring work to achieve. Coverage in dEQP is dEQP-VK.memory.requirements.extended.*, which all pass or are unsupported. Signed-off-by: Matt Coster <matt.coster@imgtec.com> Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24489>
This commit is contained in:
parent
1823afa94a
commit
4088831124
2 changed files with 2 additions and 1 deletions
|
|
@ -434,7 +434,7 @@ Vulkan 1.1 -- all DONE: anv, lvp, radv, tu, vn
|
|||
VK_KHR_external_memory_capabilities DONE (anv, dzn, hasvk, lvp, nvk, pvr, radv, tu, v3dv, vn)
|
||||
VK_KHR_external_semaphore DONE (anv, dzn, hasvk, lvp, nvk, radv, tu, v3dv, vn)
|
||||
VK_KHR_external_semaphore_capabilities DONE (anv, dzn, hasvk, lvp, nvk, radv, tu, v3dv, vn)
|
||||
VK_KHR_get_memory_requirements2 DONE (anv, dzn, hasvk, lvp, nvk, radv, tu, v3dv, vn)
|
||||
VK_KHR_get_memory_requirements2 DONE (anv, dzn, hasvk, lvp, nvk, pvr, radv, tu, v3dv, vn)
|
||||
VK_KHR_get_physical_device_properties2 DONE (anv, dzn, hasvk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn)
|
||||
VK_KHR_maintenance1 DONE (anv, dzn, hasvk, lvp, nvk, radv, tu, v3dv, vn)
|
||||
VK_KHR_maintenance2 DONE (anv, dzn, hasvk, lvp, nvk, radv, tu, v3dv, vn)
|
||||
|
|
|
|||
|
|
@ -155,6 +155,7 @@ static void pvr_physical_device_get_supported_extensions(
|
|||
*extensions = (struct vk_device_extension_table){
|
||||
.KHR_external_memory = true,
|
||||
.KHR_external_memory_fd = true,
|
||||
.KHR_get_memory_requirements2 = true,
|
||||
.KHR_swapchain = PVR_USE_WSI_PLATFORM,
|
||||
.KHR_timeline_semaphore = true,
|
||||
.EXT_external_memory_dma_buf = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue