Module: Mesa Branch: master Commit: 2c2ea54020bed62db155f31ae4f73e6b09f0536b URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c2ea54020bed62db155f31ae4f73e6b09f0536b
Author: Samuel Pitoiset <[email protected]> Date: Mon Mar 15 15:38:07 2021 +0100 turnip: use common entrypoints for VK_KHR_create_renderpass2 Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Hyunjun Ko <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9601> --- src/freedreno/vulkan/tu_legacy.c | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/src/freedreno/vulkan/tu_legacy.c b/src/freedreno/vulkan/tu_legacy.c index 0a028e1a331..8209a96b03a 100644 --- a/src/freedreno/vulkan/tu_legacy.c +++ b/src/freedreno/vulkan/tu_legacy.c @@ -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, - }); -} _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
