mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
panvk: Fix inverted ZS read flags in DCD2 on v11+
Those flags are negative so it should have been the opposite (no read)
Fixes: 9b4886d6f4 ("panvk: Implement Z/S dependency tracking on v11+")
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
Reported-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34528>
This commit is contained in:
parent
904052a9d8
commit
e82e72b5b7
1 changed files with 2 additions and 2 deletions
|
|
@ -1741,8 +1741,8 @@ prepare_dcd(struct panvk_cmd_buffer *cmdbuf,
|
|||
cfg.write_mask = rt_written;
|
||||
#if PAN_ARCH >= 11
|
||||
if (fs) {
|
||||
cfg.no_shader_depth_read = z_attachment_read(fs, &dyns->ial);
|
||||
cfg.no_shader_stencil_read = s_attachment_read(fs, &dyns->ial);
|
||||
cfg.no_shader_depth_read = !z_attachment_read(fs, &dyns->ial);
|
||||
cfg.no_shader_stencil_read = !s_attachment_read(fs, &dyns->ial);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue