radv/gfx9: use correct stencil format for tc compat htile.
authorDave Airlie <airlied@redhat.com>
Wed, 27 Dec 2017 01:22:58 +0000 (11:22 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 27 Dec 2017 19:23:49 +0000 (05:23 +1000)
commit5ba26ed6e5aca41d285613ce8d29fed032db87a9
treef886c4feab3277ec569f4649c843c790d51c5028
parent3e59e442c3a668628bc780a6834059ed69afacb2
radv/gfx9: use correct stencil format for tc compat htile.

This needs to correspond to the bit depth of the Z plane.

noticed in passing reading amdvlk.

Fixes: fc6c77e162df3 (radv: fix TC-compat HTILE with VK_FORMAT_D32_SFLOAT_S8_UINT on Vega)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_image.c