From: Samuel Pitoiset Date: Thu, 28 Sep 2017 19:28:18 +0000 (+0200) Subject: radv: remove unused param in radv_handle_{cmask,dcc}_image_transition() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a208122d7de5b4b9cd62490f595ea90a046f758;p=mesa.git radv: remove unused param in radv_handle_{cmask,dcc}_image_transition() Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 4db9d7628c2..19b3b24a4b4 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -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(