panvk: Follow nir_lower_io for subpass lowering

We now set fb_fetch_output and fb_fetch_output_coherent to be consistent
with nir_lower_io.

This has no impact in general unless some generic pass depends on those
infos.

Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37452>
This commit is contained in:
Mary Guillemard 2025-08-27 16:58:53 +02:00 committed by Marge Bot
parent d9b11cd7a2
commit e4fea2bc46

View file

@ -923,6 +923,8 @@ lower_input_attachment_load(nir_builder *b, nir_intrinsic_instr *intr,
nir_def *is_color_att = nir_ilt_imm(b, target, 8);
nir_def *load_color, *load_zs;
nir_io_semantics iosem = {0};
iosem.fb_fetch_output = true;
iosem.fb_fetch_output_coherent = !!(nir_intrinsic_access(intr) & ACCESS_COHERENT);
nir_push_if(b, is_color_att);
{