nvk: Disable zcull save/restore regions for now
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

The issues with this are proving to be difficult to solve. Turn it off
for now until we have a proper fix.

Fixes: c24963d8da ("nvk: Enable zcull for VK_ATTACHMENT_LOAD_OP_LOAD")
Acked-by: Mary Guillemard <mary@mary.zone>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40894>
This commit is contained in:
Mel Henning 2026-04-10 15:43:45 -04:00 committed by Marge Bot
parent d15e4274f6
commit c7ab501171

View file

@ -1026,7 +1026,12 @@ nvk_image_init(struct nvk_device *dev,
}
}
if ((image->vk.aspects & VK_IMAGE_ASPECT_DEPTH_BIT) &&
/* Disable zcull save/restore regions until
* https://gitlab.freedesktop.org/mesa/mesa/-/work_items/15221
* is fixed.
*/
if (false &&
(image->vk.aspects & VK_IMAGE_ASPECT_DEPTH_BIT) &&
image->vk.image_type != VK_IMAGE_TYPE_3D &&
image->vk.tiling == VK_IMAGE_TILING_OPTIMAL &&
pdev->info.has_zcull_info) {