radv: do not emit the framebuffer when restoring a pass
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 8 Nov 2017 11:52:31 +0000 (12:52 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 13 Nov 2017 10:04:22 +0000 (11:04 +0100)
commitbe01197d8d1ab674de81bbf0b203521ad87fb107
tree5d17ff6aab3cbd331135349b38829c3b405b96ae
parentf87c58dde38902d9bfb5a046b4bf1b5e56c55fcf
radv: do not emit the framebuffer when restoring a pass

Instead just dirty RADV_CMD_DIRTY_FRAMEBUFFER and it will be
re-emitted if necessary before the next draw.

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