radv: enable TC-compat HTILE with D32S8 and MSAA on GFX9+
Only GFX8 has some depth/stencil resolve failures. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8562>
This commit is contained in:
committed by
Marge Bot
parent
60ead6e04b
commit
cc5b6a0e89
@@ -96,7 +96,8 @@ radv_use_tc_compat_htile_for_image(struct radv_device *device,
|
||||
/* FIXME: for some reason TC compat with 2/4/8 samples breaks some cts
|
||||
* tests - disable for now.
|
||||
*/
|
||||
if (pCreateInfo->samples >= 2 && format == VK_FORMAT_D32_SFLOAT_S8_UINT)
|
||||
if (device->physical_device->rad_info.chip_class < GFX9 &&
|
||||
pCreateInfo->samples >= 2 && format == VK_FORMAT_D32_SFLOAT_S8_UINT)
|
||||
return false;
|
||||
|
||||
/* GFX9 supports both 32-bit and 16-bit depth surfaces, while GFX8 only
|
||||
|
||||
Reference in New Issue
Block a user