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 <erik.faye-lund@collabora.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16926>
This commit is contained in:

committed by
Marge Bot

parent
cc7158fe2f
commit
cd8e322816
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user