nvk: No-op sparse image format properties

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Faith Ekstrand
2023-01-30 20:11:51 -06:00
committed by Marge Bot
parent 0e284f71e1
commit 152ded2b97

View File

@@ -166,6 +166,17 @@ nvk_GetPhysicalDeviceImageFormatProperties2(
return VK_SUCCESS; return VK_SUCCESS;
} }
VKAPI_ATTR void VKAPI_CALL
nvk_GetPhysicalDeviceSparseImageFormatProperties2(
VkPhysicalDevice physicalDevice,
const VkPhysicalDeviceSparseImageFormatInfo2* pFormatInfo,
uint32_t *pPropertyCount,
VkSparseImageFormatProperties2 *pProperties)
{
/* Sparse images are not yet supported. */
*pPropertyCount = 0;
}
static enum nil_image_dim static enum nil_image_dim
vk_image_type_to_nil_dim(VkImageType type) vk_image_type_to_nil_dim(VkImageType type)
{ {