radv: don't enable tc compat for d32s8 + 4/8 samples (v1.1)
authorDave Airlie <airlied@redhat.com>
Wed, 24 Jan 2018 23:29:55 +0000 (09:29 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 25 Jan 2018 20:55:09 +0000 (06:55 +1000)
commitf4c534ef68a479055190f8ec8d551be0f56ef361
tree50cfad10e66d10dd703b2db2b1cca3315be0935f
parent6ac5e851f1a0b83d84156bc79983fd9527d4c296
radv: don't enable tc compat for d32s8 + 4/8 samples (v1.1)

This seems to be broken, at least the cts tests fail.

This fixes:
dEQP-VK.renderpass.suballocation.multisample.d32_sfloat_s8_uint.samples_4
dEQP-VK.renderpass.suballocation.multisample.d32_sfloat_s8_uint.samples_8

2 samples seems to pass fine, amdvlk doesn't appear to enable TC for
possibly some other reasons here.

This is most likely a hack.

v1.1: add a bit of explaination text. (Samuel)
Fixes: ad3d98da9 (radv: enable tc compatible htile for d32s8 also.)
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_image.c