mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 22:10:10 +01:00
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:
parent
d9b11cd7a2
commit
e4fea2bc46
1 changed files with 2 additions and 0 deletions
|
|
@ -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 *is_color_att = nir_ilt_imm(b, target, 8);
|
||||||
nir_def *load_color, *load_zs;
|
nir_def *load_color, *load_zs;
|
||||||
nir_io_semantics iosem = {0};
|
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);
|
nir_push_if(b, is_color_att);
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue