radv: remove predication on cache flushes
authorMatthew Nicholls <mnicholls@feralinteractive.com>
Mon, 29 Jan 2018 16:26:18 +0000 (16:26 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 31 Jan 2018 03:37:18 +0000 (13:37 +1000)
commitef272b161e05e8216f2d1f4df5023f3aed0ae4fa
tree7e4267a88bc19c40e8d5e0d1e7bc126ec7d99c11
parent1ea9efd2f8892cc238b12ec3f329e8322a9e5d2f
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 <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/si_cmd_buffer.c