diff --git a/src/vulkan/runtime/vk_render_pass.c b/src/vulkan/runtime/vk_render_pass.c index f096dfd1693..bc1ae993091 100644 --- a/src/vulkan/runtime/vk_render_pass.c +++ b/src/vulkan/runtime/vk_render_pass.c @@ -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 }; }