diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-02-07 00:36:41 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-02-07 22:58:06 +0100 |
commit | 0d1283850bef7738b09c23d6a546696d653863ca (patch) | |
tree | aadac7fc5dec4c8ade1749624459762b1129a52c /src/amd/vulkan/radv_meta_clear.c | |
parent | 1de3cd8a3425e1b4d54155c040e73acd9903efe5 (diff) |
radv: Enable fast clears by default.
Works for me on dota2 and talos now.
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Reviewed-by: Andres Rodriguez <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_meta_clear.c')
-rw-r--r-- | src/amd/vulkan/radv_meta_clear.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_meta_clear.c b/src/amd/vulkan/radv_meta_clear.c index a42e8345716..6d02acc2dd1 100644 --- a/src/amd/vulkan/radv_meta_clear.c +++ b/src/amd/vulkan/radv_meta_clear.c @@ -841,7 +841,7 @@ emit_fast_color_clear(struct radv_cmd_buffer *cmd_buffer, if (!iview->image->cmask.size && !iview->image->surface.dcc_size) return false; - if (!(cmd_buffer->device->debug_flags & RADV_DEBUG_FAST_CLEARS)) + if (cmd_buffer->device->debug_flags & RADV_DEBUG_NO_FAST_CLEARS) return false; if (!radv_layout_can_fast_clear(iview->image, image_layout, radv_image_queue_family_mask(iview->image, cmd_buffer->queue_family_index, cmd_buffer->queue_family_index))) |