summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2022-11-26 14:32:42 +0100
committerJosJuice <josjuice@gmail.com>2022-11-27 11:30:10 +0100
commit2f1a8ee1b9cb2c7e78688c2bdf7e08b5a533441f (patch)
tree7bed8380e0a50dca51d320188deb2831676060b3 /Source/Core/VideoCommon/TextureCacheBase.cpp
parentcbceae917663d0387deae0280b1e196eb7520cb2 (diff)
Jit64: Skip HandleNaNs for operations that can't generate NaN
Operations that have two operands and can't generate a default NaN, i.e. addition and subtraction, already have the desired NaN handling on x86. We just need to make sure to not reverse the operands. This fixes ps_sum0/ps_sum1 outputting NaNs in cases where they shouldn't. (HandleNaNs assumes that a NaN in a ps0 input always results in a NaN in the ps0 output, and correspondingly for ps1.)
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
0 files changed, 0 insertions, 0 deletions