panvk: Advertise zero sparse format properties
This is the correct implementation when you don't support sparse and fixes piles of CTS crashes. Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15285>
This commit is contained in:
parent
8feed1f114
commit
afe2ef9afc
|
@ -466,7 +466,8 @@ panvk_GetPhysicalDeviceSparseImageFormatProperties(VkPhysicalDevice physicalDevi
|
|||
uint32_t *pNumProperties,
|
||||
VkSparseImageFormatProperties *pProperties)
|
||||
{
|
||||
panvk_stub();
|
||||
/* Sparse images are not yet supported. */
|
||||
*pNumProperties = 0;
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -475,7 +476,8 @@ panvk_GetPhysicalDeviceSparseImageFormatProperties2(VkPhysicalDevice physicalDev
|
|||
uint32_t *pPropertyCount,
|
||||
VkSparseImageFormatProperties2 *pProperties)
|
||||
{
|
||||
panvk_stub();
|
||||
/* Sparse images are not yet supported. */
|
||||
*pPropertyCount = 0;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue