diff options
author | Jesse Natalie <jenatali@microsoft.com> | 2020-06-08 05:54:53 -0700 |
---|---|---|
committer | Jesse Natalie <jenatali@microsoft.com> | 2020-08-17 15:34:00 -0700 |
commit | 9ebbed6ddcc078562ebc6361604f00e32ffa0b0c (patch) | |
tree | c3dc5eeea254d6f922248b85b21bea4f8978890f | |
parent | 199bea0fd80e65178a9d12c705a9f0aaf0a36ceb (diff) |
nir: Add fisnormal 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>
-rw-r--r-- | src/compiler/nir/nir_opcodes.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_opcodes.py b/src/compiler/nir/nir_opcodes.py index 7846bf2192c..d880c51eebc 100644 --- a/src/compiler/nir/nir_opcodes.py +++ b/src/compiler/nir/nir_opcodes.py @@ -1154,3 +1154,5 @@ triop("umad24", tuint32, _2src_commutative, # unsigned 24b multiply into 32b result uint binop("umul24", tint32, _2src_commutative + associative, "(((uint32_t)src0 << 8) >> 8) * (((uint32_t)src1 << 8) >> 8)") + +unop_convert("fisnormal", tbool1, tfloat, "isnormal(src0)") |