mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
nir/algebraic: Get rid of an invlid fxor optimization
The fxor opcode is required to return 1.0f or 0.0f but the input variable may not be 1.0f or 0.0f. Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
parent
3a7cb6534c
commit
89545b1314
1 changed files with 0 additions and 1 deletions
|
|
@ -176,7 +176,6 @@ optimizations = [
|
|||
(('ior', a, 0), a),
|
||||
(('fxor', a, a), 0.0),
|
||||
(('ixor', a, a), 0),
|
||||
(('fxor', a, 0.0), a),
|
||||
(('ixor', a, 0), a),
|
||||
(('inot', ('inot', a)), a),
|
||||
# DeMorgan's Laws
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue