radv: Merge fast clear flushes.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 5 Mar 2017 10:19:08 +0000 (11:19 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 5 Mar 2017 19:40:31 +0000 (20:40 +0100)
commita247215469783a706ddac85ccef36e513a2e55bc
treebf4f76e7b86b395c2c73b2aa505f8f1ab85cd53c
parenta01a10421607ec19ee3ed01ab8e6062499aaec92
radv: Merge fast clear flushes.

Don't flush multiple times if we clear multiple attachments. Also allows
doing the depth clear in parallel with the fast color clears.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_meta_clear.c