summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-11-23 17:04:09 +0100
committerSamuel Pitoiset <[email protected]>2018-11-29 10:18:42 +0100
commit3e718db1ff61a833c0135e62c3c69a55bc446f6c (patch)
treed702f9e7054e7f8c5811ec9348932407b0db5827 /src/amd
parentd0c7b079d07f751eb37ecaa45a2a6db920d71d7a (diff)
radv: remove useless check in emit_fast_color_clear()
The driver doesn't support DCC/CMASK for mipmapped textures. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/vulkan/radv_meta_clear.c3
1 files changed, 0 insertions, 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;