From 5935ef098d9c904d535688b2c045198f5afcc3d0 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Wed, 15 Jan 2020 08:49:14 +0100 Subject: [PATCH] v3dv: implement vkGetPhysicalDeviceSparseImageFormatProperties Part-of: --- src/broadcom/vulkan/v3dv_formats.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/broadcom/vulkan/v3dv_formats.c b/src/broadcom/vulkan/v3dv_formats.c index 64fc9f791e8..7e7f630a2c1 100644 --- a/src/broadcom/vulkan/v3dv_formats.c +++ b/src/broadcom/vulkan/v3dv_formats.c @@ -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; +}