v3dv: implement vkGetPhysicalDeviceSparseImageFormatProperties

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
Iago Toral Quiroga 2020-01-15 08:49:14 +01:00 committed by Marge Bot
parent 85f1f0690e
commit 5935ef098d

View file

@ -372,3 +372,17 @@ unsupported:
return VK_ERROR_FORMAT_NOT_SUPPORTED;
}
void
v3dv_GetPhysicalDeviceSparseImageFormatProperties(
VkPhysicalDevice physicalDevice,
VkFormat format,
VkImageType type,
VkSampleCountFlagBits samples,
VkImageUsageFlags usage,
VkImageTiling tiling,
uint32_t *pPropertyCount,
VkSparseImageFormatProperties *pProperties)
{
*pPropertyCount = 0;
}