radv: don't do format replacement on tc compat htile surfaces.
authorDave Airlie <airlied@redhat.com>
Wed, 27 Dec 2017 07:00:29 +0000 (17:00 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 27 Dec 2017 19:24:52 +0000 (05:24 +1000)
commitd2acf97e49e104a45fd8aa0cbe3ad30d0dc37596
tree23cac9bbebe10da9f04f8e97e7b4df0ed7c796d5
parent5ba26ed6e5aca41d285613ce8d29fed032db87a9
radv: don't do format replacement on tc compat htile surfaces.

For copies the texture unit needs to know the depth format so
it can read the htile data properly.

This fixes:
dEQP-VK.renderpass.suballocation.formats.d32_sfloat_s8_uint.load.clear

Fixes: ad3d98da9f (radv: enable tc compatible htile for d32s8 also.)
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_meta_copy.c