[Mesa-dev] [PATCH 1/7] radv: remove useless check in emit_fast_color_clear()

Samuel Pitoiset samuel.pitoiset at gmail.com
Fri Nov 23 16:04:09 UTC 2018


The driver doesn't support DCC/CMASK for mipmapped textures.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
 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.19.1



More information about the mesa-dev mailing list