vk: Fix vkGetPhysicalDeviceSparseImageFormatProperties()
The driver does not yet support sparse images, so return zero properties for all formats.
This commit is contained in:
@@ -325,5 +325,8 @@ VkResult anv_GetPhysicalDeviceSparseImageFormatProperties(
|
||||
uint32_t* pNumProperties,
|
||||
VkSparseImageFormatProperties* pProperties)
|
||||
{
|
||||
stub_return(VK_UNSUPPORTED);
|
||||
/* Sparse images are not yet supported. */
|
||||
*pNumProperties = 0;
|
||||
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user