mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
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:
parent
71b59563fe
commit
ef31f07077
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue