From c349e35034043534a8440777a5f45f5f4112bf97 Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Tue, 23 Jun 2020 15:22:44 -0700 Subject: [PATCH] nir/vtn: Support SpvOpIsFinite via fisfinite Reviewed-by: Alyssa Rosenzweig Reviewed-by: Karol Herbst Part-of: --- src/compiler/spirv/vtn_alu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/spirv/vtn_alu.c b/src/compiler/spirv/vtn_alu.c index 986751697b5..794f82eac44 100644 --- a/src/compiler/spirv/vtn_alu.c +++ b/src/compiler/spirv/vtn_alu.c @@ -354,6 +354,7 @@ vtn_nir_alu_op_for_spirv_opcode(struct vtn_builder *b, case SpvOpDPdyCoarse: return nir_op_fddy_coarse; case SpvOpIsNormal: return nir_op_fisnormal; + case SpvOpIsFinite: return nir_op_fisfinite; default: vtn_fail("No NIR equivalent: %u", opcode); -- 2.30.2