mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-17 03:50:35 +01:00
nir/divergence: Ignore divergent_loop_{continue|break} for nir_block::divergent
This is already implicitly accounted for. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39934>
This commit is contained in:
parent
eabd7cc22c
commit
f4e3ab5266
1 changed files with 2 additions and 5 deletions
|
|
@ -1308,11 +1308,8 @@ visit_block(nir_block *block, struct divergence_state *state)
|
|||
}
|
||||
}
|
||||
|
||||
bool divergent = state->divergent_cf ||
|
||||
state->divergent_loop_continue ||
|
||||
state->divergent_loop_break;
|
||||
if (divergent != block->divergent) {
|
||||
block->divergent = divergent;
|
||||
if (state->divergent_cf != block->divergent) {
|
||||
block->divergent = state->divergent_cf;
|
||||
has_changed = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue