mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 15:10:10 +01:00
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:
parent
95feb95c95
commit
bbb5cdcf40
1 changed files with 8 additions and 0 deletions
|
|
@ -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 };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue