diff options
author | Samuel Pitoiset <[email protected]> | 2018-06-19 15:39:25 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-06-20 13:21:42 +0200 |
commit | 4b564bd612247b3d6590046b4591c9efcceabb17 (patch) | |
tree | f8ac8d83f27940fb3c2ac840b2e424a032793b13 /src/amd | |
parent | 70c1bee1872f3a38c6db7e79c6ec56056f1c8f7c (diff) |
radv: always initialize the DCC predicate to FALSE
This might eventually skip some useless DCC decompression
passes.
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_cmd_buffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } } |