radv: perform proper layout transitions before resolving
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 10 Jun 2019 15:45:30 +0000 (17:45 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 11 Jun 2019 06:06:32 +0000 (08:06 +0200)
commitc31a07fa85e8b1e6cb4859bcd9a4e7a71b102ca4
tree8afe6e551f8bfc5302bd59d47e0e4d05541fb368
parent92fa6264cb19b61c7aaaf9c36625f5b7312d4527
radv: perform proper layout transitions before resolving

Use an explicit pipeline barrier for doing layout transitions
instead of duplicating some code.

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