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:
committed by
Marge Bot
parent
95feb95c95
commit
bbb5cdcf40
@@ -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 };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user