radv: only flush DB meta in pipeline image barriers when needed
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 5 Jul 2018 10:54:17 +0000 (12:54 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 5 Jul 2018 15:20:12 +0000 (17:20 +0200)
commit17bb4c2cf5944011041aa6062a697e248408f54c
tree9ea9ff9157387d3e9035e71f00f50970676a275d
parent2a3e9c89ff011b49a3107ba4a94e6425e88ab721
radv: only flush DB meta in pipeline image barriers when needed

If the given image doesn't have HTILE, that's useless to flush
DB metadata.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c