vulkan/render_pass: add common vkGetRenderingAreaGranularityKHR()

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24392>
This commit is contained in:
Samuel Pitoiset 2023-08-07 08:42:53 +02:00 committed by Marge Bot
parent 95feb95c95
commit bbb5cdcf40

View file

@ -1058,6 +1058,14 @@ VKAPI_ATTR void VKAPI_CALL
vk_common_GetRenderAreaGranularity(VkDevice device,
VkRenderPass renderPass,
VkExtent2D *pGranularity)
{
*pGranularity = (VkExtent2D){1, 1};
}
VKAPI_ATTR void VKAPI_CALL
vk_common_GetRenderingAreaGranularityKHR(
VkDevice _device, const VkRenderingAreaInfoKHR *pRenderingAreaInfo,
VkExtent2D *pGranularity)
{
*pGranularity = (VkExtent2D) { 1, 1 };
}