nir: remove rotate scope

All other subgroup operations do not have a scope in NIR, so for consistency
rotate shouldn't have one either.

Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27964>
This commit is contained in:
Georg Lehmann
2024-03-04 15:04:47 +01:00
committed by Marge Bot
parent edf14f4b7c
commit 230743da2e
4 changed files with 11 additions and 15 deletions
@@ -8475,7 +8475,6 @@ visit_intrinsic(isel_context* ctx, nir_intrinsic_instr* instr)
Temp src = get_ssa_temp(ctx, instr->src[0].ssa);
Temp delta = get_ssa_temp(ctx, instr->src[1].ssa);
Temp dst = get_ssa_temp(ctx, &instr->def);
assert(nir_intrinsic_execution_scope(instr) == SCOPE_SUBGROUP);
assert(instr->def.bit_size > 1 && instr->def.bit_size <= 32);
if (!nir_src_is_divergent(instr->src[0])) {