From: Samuel Pitoiset Date: Tue, 19 Jun 2018 13:39:25 +0000 (+0200) Subject: radv: always initialize the DCC predicate to FALSE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b564bd612247b3d6590046b4591c9efcceabb17;p=mesa.git 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 --- 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); } }