radv: Don't emit cache flushes on subpass switch.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 5 Mar 2017 14:52:28 +0000 (15:52 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 9 Mar 2017 01:35:23 +0000 (02:35 +0100)
commit870032978512576f5ac882b2c88c7657c9f741f4
tree3a798cd26c14a4b8e1223441fe6a7fd30ab8579e
parent9251f8b35ef081db65cb8c2018d7f8f4bc3c1be3
radv: Don't emit cache flushes on subpass switch.

I think we should only flush right before an action (draw/dispatch etc.),
as otherwise it is too easy to issue redundant flushes.

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