mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
radv: disable TC-compat htile on GFX9 in some cases
Similar to commit a38de4c011 ("radv: disable tc_compatible_cmask on
GFX9 in some cases"), GFX9 seems to have issues with TC-compat htile as
well.
I've only seen this with D16 and sample count 4. But I am not sure
about the exact condition.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10161
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26263>
This commit is contained in:
parent
d173584b6e
commit
16a270f646
1 changed files with 5 additions and 0 deletions
|
|
@ -107,6 +107,11 @@ radv_use_tc_compat_htile_for_image(struct radv_device *device, const VkImageCrea
|
|||
return false;
|
||||
}
|
||||
|
||||
/* GFX9 has issues when the sample count is 4 and the format is D16 */
|
||||
if (device->physical_device->rad_info.gfx_level == GFX9 && pCreateInfo->samples == 4 &&
|
||||
format == VK_FORMAT_D16_UNORM)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue