radv: move fast clear before resolve into own loop.
authorDave Airlie <airlied@redhat.com>
Mon, 6 Mar 2017 23:31:48 +0000 (23:31 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 7 Mar 2017 04:01:53 +0000 (04:01 +0000)
commitc5947e9787c700239da329fb4c373a5c6b4f35da
tree8bd74b775036d9bc78997f11b4f267401205b71a
parent0ab2dd361fd80c3840b1547cb7e05b4361eaf928
radv: move fast clear before resolve into own loop.

Don't fast clear inside the meta loop as things get
confused, fixes a crash in:
dEQP-VK.api.copy_and_blit.resolve_image.whole_array_image.2_bit

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_meta_resolve_cs.c