Module: Mesa Branch: main Commit: cd8e322816325c06792f832ffe9e4f42719e4b0c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd8e322816325c06792f832ffe9e4f42719e4b0c
Author: Boris Brezillon <[email protected]> Date: Tue Apr 19 11:01:41 2022 +0200 dzn: Add a dummy GetDeviceGroupPeerMemoryFeatures() We don't support device groups, but Vulkan 1.1 requires a GetDeviceGroupPeerMemoryFeatures() implementation, so let's just advertise no peer-memory features. Reviewed-by: Erik Faye-Lund <[email protected]> Reviewed-by: Jesse Natalie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16926> --- src/microsoft/vulkan/dzn_device.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/microsoft/vulkan/dzn_device.c b/src/microsoft/vulkan/dzn_device.c index f32532fca2c..8b6d939dfa0 100644 --- a/src/microsoft/vulkan/dzn_device.c +++ b/src/microsoft/vulkan/dzn_device.c @@ -2803,3 +2803,13 @@ dzn_DestroySampler(VkDevice device, { dzn_sampler_destroy(dzn_sampler_from_handle(sampler), pAllocator); } + +VKAPI_ATTR void VKAPI_CALL +dzn_GetDeviceGroupPeerMemoryFeatures(VkDevice device, + uint32_t heapIndex, + uint32_t localDeviceIndex, + uint32_t remoteDeviceIndex, + VkPeerMemoryFeatureFlags *pPeerMemoryFeatures) +{ + *pPeerMemoryFeatures = 0; +}
