diff options
author | Matthew Nicholls <[email protected]> | 2018-01-29 16:26:18 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-01-31 13:37:18 +1000 |
commit | ef272b161e05e8216f2d1f4df5023f3aed0ae4fa (patch) | |
tree | 7e4267a88bc19c40e8d5e0d1e7bc126ec7d99c11 /src/amd/vulkan/radv_cmd_buffer.c | |
parent | 1ea9efd2f8892cc238b12ec3f329e8322a9e5d2f (diff) |
radv: remove predication on cache flushes
This can lead to a situation where cache flushes could get conditionally
disabled while still clearing the flush_bits, and thus flushes due to
application pipeline barriers may never get executed.
Fixes: a6c2001ace (radv: add support for cmd predication.)
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_cmd_buffer.c')
-rw-r--r-- | src/amd/vulkan/radv_cmd_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 1280a186525..48fe09da53b 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -446,7 +446,7 @@ radv_cmd_buffer_after_draw(struct radv_cmd_buffer *cmd_buffer, } /* Force wait for graphics or compute engines to be idle. */ - si_cs_emit_cache_flush(cmd_buffer->cs, false, + si_cs_emit_cache_flush(cmd_buffer->cs, cmd_buffer->device->physical_device->rad_info.chip_class, ptr, va, radv_cmd_buffer_uses_mec(cmd_buffer), |