anv: add vkGetRenderingAreaGranularityKHR()

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24387>
This commit is contained in:
Lionel Landwerlin 2023-03-08 13:49:35 +02:00
parent 4bd864c487
commit 8b662d41b4

View file

@ -3018,3 +3018,14 @@ anv_DestroyBufferView(VkDevice _device, VkBufferView bufferView,
vk_buffer_view_destroy(&device->vk, pAllocator, &view->vk);
}
void anv_GetRenderingAreaGranularityKHR(
VkDevice _device,
const VkRenderingAreaInfoKHR* pRenderingAreaInfo,
VkExtent2D* pGranularity)
{
*pGranularity = (VkExtent2D) {
.width = 1,
.height = 1,
};
}