[Mesa-dev] [PATCH 1/3] radv: always initialize the DCC predicate to FALSE
Samuel Pitoiset
samuel.pitoiset at gmail.com
Tue Jun 19 14:57:41 UTC 2018
This might eventually skip some useless DCC decompression
passes.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
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 ccaab63b84b..7d64e8ce003 100644
--- a/src/amd/vulkan/radv_cmd_buffer.c
+++ b/src/amd/vulkan/radv_cmd_buffer.c
@@ -4059,6 +4059,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.17.1
More information about the mesa-dev
mailing list