From f7de4ad0fb4f2d0c46d86cb53844b76ddb586333 Mon Sep 17 00:00:00 2001 From: "Juan A. Suarez Romero" Date: Tue, 11 Mar 2025 13:24:08 +0100 Subject: [PATCH] v3dv: remove src_format from blit render pass creation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Source format is not involved at all on creating the blit render pass, so remove from the function call. Signed-off-by: Juan A. Suarez Romero Reviewed-by: Alejandro PiƱeiro Reviewed-by: Iago Toral Quiroga Part-of: --- src/broadcom/vulkan/v3dv_meta_copy.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/broadcom/vulkan/v3dv_meta_copy.c b/src/broadcom/vulkan/v3dv_meta_copy.c index 3770b65c8d1..af356ed0acb 100644 --- a/src/broadcom/vulkan/v3dv_meta_copy.c +++ b/src/broadcom/vulkan/v3dv_meta_copy.c @@ -2195,7 +2195,6 @@ get_texel_buffer_copy_pipeline_cache_key(VkFormat format, static bool create_blit_render_pass(struct v3dv_device *device, VkFormat dst_format, - VkFormat src_format, VkRenderPass *pass_load, VkRenderPass *pass_no_load); @@ -2519,7 +2518,7 @@ get_copy_texel_buffer_pipeline( goto fail; /* The blit render pass is compatible */ - ok = create_blit_render_pass(device, format, format, + ok = create_blit_render_pass(device, format, &(*pipeline)->pass, &(*pipeline)->pass_no_load); if (!ok) @@ -3573,7 +3572,6 @@ get_blit_pipeline_cache_key(VkFormat dst_format, static bool create_blit_render_pass(struct v3dv_device *device, VkFormat dst_format, - VkFormat src_format, VkRenderPass *pass_load, VkRenderPass *pass_no_load) { @@ -4186,7 +4184,7 @@ get_blit_pipeline(struct v3dv_cmd_buffer *cmd_buffer, if (*pipeline == NULL) goto fail; - ok = create_blit_render_pass(device, dst_format, src_format, + ok = create_blit_render_pass(device, dst_format, &(*pipeline)->pass, &(*pipeline)->pass_no_load); if (!ok)