nvk: Implement GetRenderingAreaGranularityKHR

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Faith Ekstrand 2023-08-04 10:45:25 -05:00 committed by Marge Bot
parent 8636597c4a
commit 40ab58035e

View file

@ -507,6 +507,15 @@ nil_to_nv9097_samples_mode(enum nil_sample_layout sample_layout)
return nil_to_nv9097[sample_layout];
}
VKAPI_ATTR void VKAPI_CALL
nvk_GetRenderingAreaGranularityKHR(
VkDevice device,
const VkRenderingAreaInfoKHR *pRenderingAreaInfo,
VkExtent2D *pGranularity)
{
*pGranularity = (VkExtent2D) { .width = 1, .height = 1 };
}
void
nvk_CmdBeginRendering(VkCommandBuffer commandBuffer,
const VkRenderingInfo *pRenderingInfo)