pvr: Add VK_KHR_get_memory_requirements2
authorMatt Coster <matt.coster@imgtec.com>
Thu, 8 Jun 2023 08:27:29 +0000 (09:27 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 10 Aug 2023 15:38:38 +0000 (15:38 +0000)
commit40888311243279163a5fe4195003ede14f5f98fa
treef906a3765b917d306410d6703f4ba8c7c6dd35dc
parent1823afa94a07a1d7697ffd6fcd646f192b6cf8d3
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>
docs/features.txt
src/imagination/vulkan/pvr_device.c