diff options
author | Jason Ekstrand <[email protected]> | 2016-03-23 14:30:29 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-03-23 16:28:00 -0700 |
commit | ed3a029e8088cb17af073c3b5f7444cb7e2f1cfb (patch) | |
tree | 0328c5f8ef7594bcd4c955ad6e9975d93df2ef91 /src/compiler/nir/nir_lower_atomics.c | |
parent | 89545b13141053cf12a10e5357aa82031e8419ed (diff) |
nir/algebraic: Fix fmin detection to match the spec
The previous transformation got the arguments to fmin backwards. When NaNs
are involved, the GLSL min/max aren't commutative so it matters.
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_lower_atomics.c')
0 files changed, 0 insertions, 0 deletions