mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 13:38:06 +02:00
nir/opt_reassociate: use nir_fp_no_reassoc instead of exact
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40872>
This commit is contained in:
parent
6549b993e6
commit
d2d86b83fb
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ can_reassociate(nir_alu_instr *alu)
|
|||
|
||||
return (props & NIR_OP_IS_2SRC_COMMUTATIVE) &&
|
||||
((props & NIR_OP_IS_ASSOCIATIVE) ||
|
||||
(!nir_alu_instr_is_exact(alu) && (props & NIR_OP_IS_INEXACT_ASSOCIATIVE)));
|
||||
(!nir_alu_instr_no_reassoc(alu) && (props & NIR_OP_IS_INEXACT_ASSOCIATIVE)));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue