mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 00:10:10 +01:00
dzn: Add a dummy GetImageSparseMemoryRequirements2()
We don't support sparse memory yet, but this function needs to be present. 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:
parent
cd8e322816
commit
439b1fc8e8
1 changed files with 9 additions and 0 deletions
|
|
@ -2813,3 +2813,12 @@ dzn_GetDeviceGroupPeerMemoryFeatures(VkDevice device,
|
||||||
{
|
{
|
||||||
*pPeerMemoryFeatures = 0;
|
*pPeerMemoryFeatures = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VKAPI_ATTR void VKAPI_CALL
|
||||||
|
dzn_GetImageSparseMemoryRequirements2(VkDevice device,
|
||||||
|
const VkImageSparseMemoryRequirementsInfo2* pInfo,
|
||||||
|
uint32_t *pSparseMemoryRequirementCount,
|
||||||
|
VkSparseImageMemoryRequirements2 *pSparseMemoryRequirements)
|
||||||
|
{
|
||||||
|
*pSparseMemoryRequirementCount = 0;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue