vk: Fix vkGetPhysicalDeviceSparseImageFormatProperties()

The driver does not yet support sparse images, so return zero properties for
all formats.
This commit is contained in:
Chad Versace 2015-09-28 10:16:03 -07:00
parent 164f08c255
commit 97636345da

View file

@ -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;
}