panvk: Non-destructively stub GetRenderAreaGranularity

Don't crash.  Just print a warning and return 1x1.

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15285>
This commit is contained in:
Jason Ekstrand 2022-01-28 15:04:50 -06:00 committed by Marge Bot
parent afe2ef9afc
commit 541f08cd4c

View file

@ -218,5 +218,6 @@ panvk_GetRenderAreaGranularity(VkDevice _device,
VkRenderPass renderPass,
VkExtent2D *pGranularity)
{
panvk_stub();
/* TODO: Return the actual tile size for the render pass? */
*pGranularity = (VkExtent2D) { 1, 1 };
}