nir: clear SAMPLE_MASK_IN if we lowered it

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38641>
This commit is contained in:
Iván Briano 2025-11-24 13:11:46 -08:00 committed by Marge Bot
parent 71b59563fe
commit ef31f07077

View file

@ -50,6 +50,8 @@ lower_single_sampled_instr(nir_builder *b,
b->cursor = nir_before_instr(&intrin->instr);
lowered = nir_b2i32(b, nir_inot(b, nir_load_helper_invocation(b, 1)));
BITSET_CLEAR(b->shader->info.system_values_read, SYSTEM_VALUE_SAMPLE_MASK_IN);
break;
case nir_intrinsic_interp_deref_at_centroid: