radv: always dirty the framebuffer when restoring a subpass
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 23 May 2019 12:57:07 +0000 (14:57 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 27 May 2019 11:52:36 +0000 (13:52 +0200)
commitff27eb509a39369739b529c971b083066967b77c
tree20b769cdecc2494e8957b63784e37ec445f3a8cb
parent9af15986b0d9ffcb69fcced33e59a61a8c54dfdd
radv: always dirty the framebuffer when restoring a subpass

The old code was not wrong because the transitions performed
after the resolves should re-emit the framebuffer if needed.

This change is mostly a no-op but it improves consistency
regarding other meta operations that need to save/restore subpasses.

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