mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
nvk: Disable zcull save/restore regions for now
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:
parent
d15e4274f6
commit
c7ab501171
1 changed files with 6 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue