radv: only account for tile_swizzle for color surfaces with DCC
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 1 Aug 2019 13:45:10 +0000 (15:45 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 2 Aug 2019 11:34:39 +0000 (13:34 +0200)
commit856487a280f58bf2e7cf1d6a13c659375e6a3d5f
treefe7321ed69d373b2a0dae52abb2e45e4f7736ba6
parente1c5d8a36490642dfa3891a3273f3830f3ac8161
radv: only account for tile_swizzle for color surfaces with DCC

It's 0 for depth surfaces with TC compat HTILE enabled.

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