commit | af59e4c40043d1b966fa8dce74b2894348e1b004 | [log] [tgz] |
---|---|---|
author | Jesse Natalie <jenatali@microsoft.com> | Tue Jun 23 15:22:29 2020 -0700 |
committer | Jesse Natalie <jenatali@microsoft.com> | Mon Aug 17 15:34:08 2020 -0700 |
tree | 8676497aa8bf0b048c93d991ee3b226838eb4bd7 | |
parent | e6e6f52206ebaecb68ce404307e626f62afdb6ba [diff] |
nir: Add fisfinite op Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6355>
diff --git a/src/compiler/nir/nir_opcodes.py b/src/compiler/nir/nir_opcodes.py index d880c51..bd8e0cd 100644 --- a/src/compiler/nir/nir_opcodes.py +++ b/src/compiler/nir/nir_opcodes.py
@@ -1156,3 +1156,4 @@ "(((uint32_t)src0 << 8) >> 8) * (((uint32_t)src1 << 8) >> 8)") unop_convert("fisnormal", tbool1, tfloat, "isnormal(src0)") +unop_convert("fisfinite", tbool1, tfloat, "isfinite(src0)")