radv: implement all depth/stencil resolve modes using compute
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 22 May 2019 07:42:12 +0000 (09:42 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 21 Jun 2019 12:50:19 +0000 (14:50 +0200)
commit5cf350f56511e94caccdab4afafadca7c6f316f2
tree488c6c983ee812c99464391a5750867ee778a17c
parentcdc6efddf918bc07d30db779f3b0675192a77333
radv: implement all depth/stencil resolve modes using compute

This path supports layers but it requires to decompress HTILE
before resolving. The driver also needs to fixup HTILE after
the resolve. This path is probably slower than the graphics one.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_meta_resolve_cs.c
src/amd/vulkan/radv_private.h