radv: reduce number of CB/DB meta flushes for VK_ACCESS_TRANSFER_WRITE_BIT
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 13 Jul 2018 15:35:58 +0000 (17:35 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 17 Jul 2018 07:34:20 +0000 (09:34 +0200)
commit88e56804a72e69ddc904731588d07680a3bf8019
tree613165215b94de4b4ac79c69bcb2a0c33c0ab180
parentb213947510e350a116d0fe4fc6a5c59aa15225e1
radv: reduce number of CB/DB meta flushes for VK_ACCESS_TRANSFER_WRITE_BIT

If we know that the given image doesn't have any metadata,
we don't need to flush.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c