projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
199bea0
)
nir: Add fisnormal op
author
Jesse Natalie
<jenatali@microsoft.com>
Mon, 8 Jun 2020 12:54:53 +0000
(
05:54
-0700)
committer
Jesse Natalie
<jenatali@microsoft.com>
Mon, 17 Aug 2020 22:34:00 +0000
(15:34 -0700)
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>
src/compiler/nir/nir_opcodes.py
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_opcodes.py
b/src/compiler/nir/nir_opcodes.py
index 7846bf2192c290b6b2d3c9eeaeedd3491cec3b43..d880c51eebce7d0af7b60796f156128e31501303 100644
(file)
--- 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)")