mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 06:30:11 +01:00
turnip: use common entrypoints for VK_KHR_create_renderpass2
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Hyunjun Ko <zzoon@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9601>
This commit is contained in:
parent
5cb6999bc3
commit
2c2ea54020
1 changed files with 0 additions and 28 deletions
|
|
@ -86,31 +86,3 @@ tu_GetImageSparseMemoryRequirements(VkDevice device,
|
|||
for (uint32_t i = 0; i < *count; i++)
|
||||
reqs[i] = reqs2[i].memoryRequirements;
|
||||
}
|
||||
|
||||
void
|
||||
tu_CmdBeginRenderPass(VkCommandBuffer cmd, const VkRenderPassBeginInfo *info, VkSubpassContents contents)
|
||||
{
|
||||
return tu_CmdBeginRenderPass2(cmd, info, &(VkSubpassBeginInfo) {
|
||||
.sType = VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO,
|
||||
.contents = contents
|
||||
});
|
||||
}
|
||||
|
||||
void
|
||||
tu_CmdNextSubpass(VkCommandBuffer cmd, VkSubpassContents contents)
|
||||
{
|
||||
return tu_CmdNextSubpass2(cmd, &(VkSubpassBeginInfo) {
|
||||
.sType = VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO,
|
||||
.contents = contents
|
||||
}, &(VkSubpassEndInfoKHR) {
|
||||
.sType = VK_STRUCTURE_TYPE_SUBPASS_END_INFO,
|
||||
});
|
||||
}
|
||||
|
||||
void
|
||||
tu_CmdEndRenderPass(VkCommandBuffer cmd)
|
||||
{
|
||||
return tu_CmdEndRenderPass2(cmd, &(VkSubpassEndInfoKHR) {
|
||||
.sType = VK_STRUCTURE_TYPE_SUBPASS_END_INFO,
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue