radv: handle layered fast clears.
authorDave Airlie <airlied@redhat.com>
Sun, 19 Feb 2017 06:33:14 +0000 (16:33 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 19 Feb 2017 10:30:01 +0000 (20:30 +1000)
commit9aec76aca3307c2d00f2bcd9f37c7cf3ca181dfb
tree1d6531791fcfa81ff852c71641f054ca497a3476
parentefc89edf5a81e31a7c9be3d851dcd7dc896ab888
radv: handle layered fast clears.

This iterates the fast clear flush across the layers in the
specified range.

It also moves the compute resolve flush into the function
and builds the range in there.

This fixes:
dEQP-VK.geometry.layered.* regressions since fast clears.

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