mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 19:30:11 +01:00
Revert "nir/opcodes: Use fpclassify() instead of isnormal() for ldexp"
This reverts commit d7d340fb2f.
We have an isnormal() implementation available, the only problem was that
we had the wrong return type (fixed in a later patch).
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88806
Acked-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
58e8468d11
commit
f0340ff625
1 changed files with 1 additions and 1 deletions
|
|
@ -480,7 +480,7 @@ else
|
|||
opcode("ldexp", 0, tunsigned, [0, 0], [tfloat, tint], "", """
|
||||
dst = ldexp(src0, src1);
|
||||
/* flush denormals to zero. */
|
||||
if (fpclassify(dst) != FP_NORMAL)
|
||||
if (!isnormal(dst))
|
||||
dst = copysign(0.0f, src0);
|
||||
""")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue