mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
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:
parent
40ab58035e
commit
d8b7b1d784
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue