ac/nir: don't store tess levels for TES in TCS if no_varying is set

Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34544>
This commit is contained in:
Marek Olšák
2025-04-15 15:56:26 -04:00
parent be8977811b
commit d2e016c37d
@@ -595,6 +595,9 @@ lower_hs_output_store(nir_builder *b,
ac_nir_store_var_components(b, st->tcs_tess_level_outer, store_val,
component, write_mask);
}
if (semantics.no_varying)
st->tes_inputs_read &= ~BITFIELD64_BIT(semantics.location);
}
return NIR_LOWER_INSTR_PROGRESS_REPLACE;