From af59e4c40043d1b966fa8dce74b2894348e1b004 Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Tue, 23 Jun 2020 15:22:29 -0700 Subject: [PATCH] nir: Add fisfinite op Reviewed-by: Alyssa Rosenzweig Reviewed-by: Karol Herbst Part-of: --- src/compiler/nir/nir_opcodes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/nir/nir_opcodes.py b/src/compiler/nir/nir_opcodes.py index d880c51eebc..bd8e0cd09c2 100644 --- a/src/compiler/nir/nir_opcodes.py +++ b/src/compiler/nir/nir_opcodes.py @@ -1156,3 +1156,4 @@ binop("umul24", tint32, _2src_commutative + associative, "(((uint32_t)src0 << 8) >> 8) * (((uint32_t)src1 << 8) >> 8)") unop_convert("fisnormal", tbool1, tfloat, "isnormal(src0)") +unop_convert("fisfinite", tbool1, tfloat, "isfinite(src0)") -- 2.30.2