mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
nir/lower_amul: make use nir_shader_clear_pass_flags(..)
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23931>
This commit is contained in:
parent
fada46cf99
commit
36b0cff774
1 changed files with 1 additions and 8 deletions
|
|
@ -235,14 +235,7 @@ nir_lower_amul(nir_shader *shader,
|
|||
}
|
||||
}
|
||||
|
||||
/* clear pass flags: */
|
||||
nir_foreach_function_impl(impl, shader) {
|
||||
nir_foreach_block(block, impl) {
|
||||
nir_foreach_instr(instr, block) {
|
||||
instr->pass_flags = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
nir_shader_clear_pass_flags(shader);
|
||||
|
||||
nir_foreach_function_impl(impl, shader) {
|
||||
nir_foreach_block(block, impl) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue