mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 06:20:09 +01:00
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>
This commit is contained in:
parent
199bea0fd8
commit
9ebbed6ddc
1 changed files with 2 additions and 0 deletions
|
|
@ -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)")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue