From 3e718db1ff61a833c0135e62c3c69a55bc446f6c Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Fri, 23 Nov 2018 17:04:09 +0100 Subject: [PATCH] radv: remove useless check in emit_fast_color_clear() The driver doesn't support DCC/CMASK for mipmapped textures. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_meta_clear.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/amd/vulkan/radv_meta_clear.c b/src/amd/vulkan/radv_meta_clear.c index f2f5cb32eb9..26bc5e75ef3 100644 --- a/src/amd/vulkan/radv_meta_clear.c +++ b/src/amd/vulkan/radv_meta_clear.c @@ -1366,9 +1366,6 @@ emit_fast_color_clear(struct radv_cmd_buffer *cmd_buffer, if (iview->image->info.array_size != iview->layer_count) return false; - if (iview->image->info.levels > 1) - return false; - if (!radv_image_extent_compare(iview->image, &iview->extent)) return false; -- 2.30.2