Mesa (master): nir: Add fisfinite op
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Aug 18 00:34:33 UTC 2020
Module: Mesa
Branch: master
Commit: af59e4c40043d1b966fa8dce74b2894348e1b004
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=af59e4c40043d1b966fa8dce74b2894348e1b004
Author: Jesse Natalie <jenatali at microsoft.com>
Date: Tue Jun 23 15:22:29 2020 -0700
nir: Add fisfinite op
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Reviewed-by: Karol Herbst <kherbst at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6355>
---
src/compiler/nir/nir_opcodes.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/compiler/nir/nir_opcodes.py b/src/compiler/nir/nir_opcodes.py
index d880c51eebc..bd8e0cd09c2 100644
--- a/src/compiler/nir/nir_opcodes.py
+++ b/src/compiler/nir/nir_opcodes.py
@@ -1156,3 +1156,4 @@ binop("umul24", tint32, _2src_commutative + associative,
"(((uint32_t)src0 << 8) >> 8) * (((uint32_t)src1 << 8) >> 8)")
unop_convert("fisnormal", tbool1, tfloat, "isnormal(src0)")
+unop_convert("fisfinite", tbool1, tfloat, "isfinite(src0)")
More information about the mesa-commit
mailing list