From aed15fa79966f897f94bb16010de3a7933872491 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sat, 22 Jun 2019 15:19:12 +0100 Subject: radv: drop incorrect MAYBE_UNUSED `compressed` is clearly always used on the line right after. Signed-off-by: Eric Engestrom Reviewed-by: Matt Turner --- src/amd/vulkan/radv_meta_copy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/amd/vulkan/radv_meta_copy.c') diff --git a/src/amd/vulkan/radv_meta_copy.c b/src/amd/vulkan/radv_meta_copy.c index 78a23851281..4d14d22a56f 100644 --- a/src/amd/vulkan/radv_meta_copy.c +++ b/src/amd/vulkan/radv_meta_copy.c @@ -191,7 +191,7 @@ meta_copy_buffer_to_image(struct radv_cmd_buffer *cmd_buffer, uint32_t queue_mask = radv_image_queue_family_mask(image, cmd_buffer->queue_family_index, cmd_buffer->queue_family_index); - MAYBE_UNUSED bool compressed = radv_layout_dcc_compressed(image, layout, queue_mask); + bool compressed = radv_layout_dcc_compressed(image, layout, queue_mask); if (compressed) { radv_decompress_dcc(cmd_buffer, image, &(VkImageSubresourceRange) { .aspectMask = pRegions[r].imageSubresource.aspectMask, @@ -335,7 +335,7 @@ meta_copy_image_to_buffer(struct radv_cmd_buffer *cmd_buffer, uint32_t queue_mask = radv_image_queue_family_mask(image, cmd_buffer->queue_family_index, cmd_buffer->queue_family_index); - MAYBE_UNUSED bool compressed = radv_layout_dcc_compressed(image, layout, queue_mask); + bool compressed = radv_layout_dcc_compressed(image, layout, queue_mask); if (compressed) { radv_decompress_dcc(cmd_buffer, image, &(VkImageSubresourceRange) { .aspectMask = pRegions[r].imageSubresource.aspectMask, -- cgit v1.2.3