mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 16:50:10 +01:00
nir: Fix typo in "ushr by 0" algebraic replacement
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com> Reviewed-by: Connor Abbott <cwabbott0@gmail.com> Cc: "10.5" <mesa-stable@lists.freedestkop.org>
This commit is contained in:
parent
67a8610caf
commit
bc672e261c
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ optimizations = [
|
|||
(('ishr', 0, a), 0),
|
||||
(('ishr', a, 0), a),
|
||||
(('ushr', 0, a), 0),
|
||||
(('ushr', a, 0), 0),
|
||||
(('ushr', a, 0), a),
|
||||
# Exponential/logarithmic identities
|
||||
(('fexp2', ('flog2', a)), a), # 2^lg2(a) = a
|
||||
(('fexp', ('flog', a)), a), # e^ln(a) = a
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue