mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-19 21:10:30 +01:00
radv: disable TC-compatible HTILE on Tonga and Iceland
According to RadeonSI, TC-compat HTILE have issues on Tonga/Iceland (first GFX8 chips) and a bunch of games seem to have issues. Let's disable it instead of using a feature that is known broken. Cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7101 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3894 Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26204>
This commit is contained in:
parent
1b7107efe4
commit
ab34603115
1 changed files with 7 additions and 0 deletions
|
|
@ -75,6 +75,13 @@ radv_use_tc_compat_htile_for_image(struct radv_device *device, const VkImageCrea
|
|||
if (device->physical_device->rad_info.gfx_level < GFX8)
|
||||
return false;
|
||||
|
||||
/* TC-compat HTILE looks broken on Tonga (and Iceland is the same design) and the documented bug
|
||||
* workarounds don't help.
|
||||
*/
|
||||
if (device->physical_device->rad_info.family == CHIP_TONGA ||
|
||||
device->physical_device->rad_info.family == CHIP_ICELAND)
|
||||
return false;
|
||||
|
||||
if (pCreateInfo->tiling == VK_IMAGE_TILING_LINEAR)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue