radv: remove unused param in radv_handle_{cmask,dcc}_image_transition()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 28 Sep 2017 19:28:18 +0000 (21:28 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 2 Oct 2017 09:56:20 +0000 (11:56 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c

index 4db9d7628c29c0d33992ad1a2d802e7171d77e03..19b3b24a4b44785ac0024cb549117af41a2b08c3 100644 (file)
@@ -3445,8 +3445,7 @@ static void radv_handle_cmask_image_transition(struct radv_cmd_buffer *cmd_buffe
                                               VkImageLayout dst_layout,
                                               unsigned src_queue_mask,
                                               unsigned dst_queue_mask,
-                                              const VkImageSubresourceRange *range,
-                                              VkImageAspectFlags pending_clears)
+                                              const VkImageSubresourceRange *range)
 {
        if (src_layout == VK_IMAGE_LAYOUT_UNDEFINED) {
                if (image->fmask.size)
@@ -3482,8 +3481,7 @@ static void radv_handle_dcc_image_transition(struct radv_cmd_buffer *cmd_buffer,
                                             VkImageLayout dst_layout,
                                             unsigned src_queue_mask,
                                             unsigned dst_queue_mask,
-                                            const VkImageSubresourceRange *range,
-                                            VkImageAspectFlags pending_clears)
+                                            const VkImageSubresourceRange *range)
 {
        if (src_layout == VK_IMAGE_LAYOUT_UNDEFINED) {
                radv_initialize_dcc(cmd_buffer, image, 0x20202020u);
@@ -3531,14 +3529,12 @@ static void radv_handle_image_transition(struct radv_cmd_buffer *cmd_buffer,
        if (image->cmask.size)
                radv_handle_cmask_image_transition(cmd_buffer, image, src_layout,
                                                   dst_layout, src_queue_mask,
-                                                  dst_queue_mask, range,
-                                                  pending_clears);
+                                                  dst_queue_mask, range);
 
        if (image->surface.dcc_size)
                radv_handle_dcc_image_transition(cmd_buffer, image, src_layout,
                                                 dst_layout, src_queue_mask,
-                                                dst_queue_mask, range,
-                                                pending_clears);
+                                                dst_queue_mask, range);
 }
 
 void radv_CmdPipelineBarrier(