radv: Fix decompression on multisampled depth buffers
authorAlex Smith <asmith@feralinteractive.com>
Thu, 3 Aug 2017 14:32:46 +0000 (15:32 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 7 Aug 2017 21:47:49 +0000 (23:47 +0200)
commit2e9a13bf2205b6e96cba408e3f48f1c3fe49634a
tree5bf3e1d8b940ccc7c69000be928a012384e73403
parenta6a6146aa91154fd31fb218bc60345bdda0d4f5d
radv: Fix decompression on multisampled depth buffers

Need to take the sample count into account in the depth decompress and
resummarize pipelines and render pass.

Fixes: f4e499ec791 ("radv: add initial non-conformant radv vulkan driver")
Signed-off-by: Alex Smith <asmith@feralinteractive.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: "17.2" <mesa-stable@lists.freedesktop.org>
src/amd/vulkan/radv_meta_decompress.c
src/amd/vulkan/radv_private.h