radv: resolve all layers in compute resolve path.
authorDave Airlie <airlied@redhat.com>
Fri, 11 May 2018 04:54:21 +0000 (14:54 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 13 May 2018 22:57:27 +0000 (08:57 +1000)
commit98dbaa445a83108b59bd56e8f3224c13c36ba1d5
treeb5629b9b26fd046aa852ce97c5e312bbfda49844
parentb16fc6cda11576a4dd6c8d95f7bee94121c4b8e7
radv: resolve all layers in compute resolve path.

This path should iterate across all layers, I've some ideas
for doing this in a single pass, but this is simpler for now.

This passes the tests because we don't use the fragment path
unless we have DCC, and we don't have DCC on layered images.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: <mesa-stable@lists.freedesktop.org>
src/amd/vulkan/radv_meta_resolve_cs.c