nvk: Decorate CmdBegin/EndRendering entrypoints

These decorations are necessary for proper building on Android and
Windows.  You don't notice them in regular Linux builds, though.

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

View file

@ -516,7 +516,7 @@ nvk_GetRenderingAreaGranularityKHR(
*pGranularity = (VkExtent2D) { .width = 1, .height = 1 };
}
void
VKAPI_ATTR void VKAPI_CALL
nvk_CmdBeginRendering(VkCommandBuffer commandBuffer,
const VkRenderingInfo *pRenderingInfo)
{
@ -768,7 +768,7 @@ nvk_CmdBeginRendering(VkCommandBuffer commandBuffer,
/* TODO: Attachment clears */
}
void
VKAPI_ATTR void VKAPI_CALL
nvk_CmdEndRendering(VkCommandBuffer commandBuffer)
{
VK_FROM_HANDLE(nvk_cmd_buffer, cmd, commandBuffer);