typedef VkResult (VKAPI *PFN_vkCreateFramebuffer)(VkDevice device, const VkFramebufferCreateInfo* pCreateInfo, VkFramebuffer* pFramebuffer);
typedef VkResult (VKAPI *PFN_vkCreateRenderPass)(VkDevice device, const VkRenderPassCreateInfo* pCreateInfo, VkRenderPass* pRenderPass);
typedef void (VKAPI *PFN_vkCmdBeginRenderPass)(VkCmdBuffer cmdBuffer, const VkRenderPassBegin* pRenderPassBegin);
-typedef void (VKAPI *PFN_vkCmdEndRenderPass)(VkCmdBuffer cmdBuffer, VkRenderPass renderPass);
+typedef void (VKAPI *PFN_vkCmdEndRenderPass)(VkCmdBuffer cmdBuffer);
typedef void (VKAPI *PFN_vkCmdExecuteCommands)(VkCmdBuffer cmdBuffer, uint32_t cmdBuffersCount, const VkCmdBuffer* pCmdBuffers);
#ifdef VK_PROTOTYPES
const VkRenderPassBegin* pRenderPassBegin);
void VKAPI vkCmdEndRenderPass(
- VkCmdBuffer cmdBuffer,
- VkRenderPass renderPass);
+ VkCmdBuffer cmdBuffer);
void VKAPI vkCmdExecuteCommands(
VkCmdBuffer cmdBuffer,
}
void anv_CmdEndRenderPass(
- VkCmdBuffer cmdBuffer,
- VkRenderPass renderPass)
+ VkCmdBuffer cmdBuffer)
{
/* Emit a flushing pipe control at the end of a pass. This is kind of a
* hack but it ensures that render targets always actually get written.
anv_CmdDraw((VkCmdBuffer) cmd_buffer, 0, 3, 0, 1);
- anv_CmdEndRenderPass((VkCmdBuffer) cmd_buffer, pass);
+ anv_CmdEndRenderPass((VkCmdBuffer) cmd_buffer);
/* At the point where we emit the draw call, all data from the
* descriptor sets, etc. has been used. We are free to delete it.
meta_emit_clear(cmd_buffer, 1, &instance_data);
- anv_CmdEndRenderPass((VkCmdBuffer) cmd_buffer, pass);
+ anv_CmdEndRenderPass((VkCmdBuffer) cmd_buffer);
}
}
}