mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 20:10:14 +01:00
anv: Also disallow CCS_E for multi-LOD images
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4616
Fixes: e3101c96bb ("anv/image: Disable multi-layer CCS_E on TGL+")
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13680>
This commit is contained in:
parent
62983f276b
commit
e614789588
1 changed files with 2 additions and 1 deletions
|
|
@ -690,7 +690,8 @@ add_aux_surface_if_supported(struct anv_device *device,
|
|||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
if (device->info.ver >= 12 && image->vk.array_layers > 1) {
|
||||
if (device->info.ver >= 12 &&
|
||||
(image->vk.array_layers > 1 || image->vk.mip_levels)) {
|
||||
/* HSD 14010672564: On TGL, if a block of fragment shader outputs
|
||||
* match the surface's clear color, the HW may convert them to
|
||||
* fast-clears. Anv only does clear color tracking for the first
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue