From 4b564bd612247b3d6590046b4591c9efcceabb17 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 19 Jun 2018 15:39:25 +0200 Subject: [PATCH] radv: always initialize the DCC predicate to FALSE This might eventually skip some useless DCC decompression passes. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_cmd_buffer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 7454b39a934..e13f7a94e1d 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -4058,6 +4058,8 @@ static void radv_init_color_image_metadata(struct radv_cmd_buffer *cmd_buffer, } radv_initialize_dcc(cmd_buffer, image, value); + + radv_set_dcc_need_cmask_elim_pred(cmd_buffer, image, false); } } -- 2.30.2