[Mesa-dev] [PATCH 2/2] radv: Don't set a new subpass on compute resolve.

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Thu Aug 24 23:17:26 UTC 2017


We don't use the render path so totally unneeded.

Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
---
 src/amd/vulkan/radv_meta_resolve_cs.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/amd/vulkan/radv_meta_resolve_cs.c b/src/amd/vulkan/radv_meta_resolve_cs.c
index da6ca76b6d4..ce02884d2d6 100644
--- a/src/amd/vulkan/radv_meta_resolve_cs.c
+++ b/src/amd/vulkan/radv_meta_resolve_cs.c
@@ -521,14 +521,6 @@ radv_cmd_buffer_resolve_subpass_cs(struct radv_cmd_buffer *cmd_buffer)
 		if (dest_att.attachment == VK_ATTACHMENT_UNUSED)
 			continue;
 
-		struct radv_subpass resolve_subpass = {
-			.color_count = 1,
-			.color_attachments = (VkAttachmentReference[]) { dest_att },
-			.depth_stencil_attachment = { .attachment = VK_ATTACHMENT_UNUSED },
-		};
-
-		radv_cmd_buffer_set_subpass(cmd_buffer, &resolve_subpass, false);
-
 		emit_resolve(cmd_buffer,
 			     src_iview,
 			     dst_iview,
-- 
2.14.1



More information about the mesa-dev mailing list