panvk: Use common CmdBeginRenderPass

The runtime already handles this.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16950>
This commit is contained in:
Alyssa Rosenzweig 2022-06-09 15:23:23 -04:00 committed by Marge Bot
parent f00e0bfd8a
commit 9bdd0854ea

View file

@ -524,19 +524,6 @@ panvk_CmdBeginRenderPass2(VkCommandBuffer commandBuffer,
panvk_cmd_fb_info_set_subpass(cmdbuf);
}
void
panvk_CmdBeginRenderPass(VkCommandBuffer cmd,
const VkRenderPassBeginInfo *info,
VkSubpassContents contents)
{
VkSubpassBeginInfo subpass_info = {
.sType = VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO,
.contents = contents
};
return panvk_CmdBeginRenderPass2(cmd, info, &subpass_info);
}
void
panvk_cmd_preload_fb_after_batch_split(struct panvk_cmd_buffer *cmdbuf)
{