mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
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:
parent
afe2ef9afc
commit
541f08cd4c
1 changed files with 2 additions and 1 deletions
|
|
@ -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 };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue