From: Jesse Natalie Date: Mon, 8 Jun 2020 12:54:53 +0000 (-0700) Subject: nir: Add fisnormal op X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ebbed6ddcc078562ebc6361604f00e32ffa0b0c;p=mesa.git nir: Add fisnormal op Reviewed-by: Alyssa Rosenzweig Reviewed-by: Karol Herbst Part-of: --- 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)")