From: Jesse Natalie Date: Tue, 23 Jun 2020 22:22:44 +0000 (-0700) Subject: nir/vtn: Support SpvOpIsFinite via fisfinite X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c349e35034043534a8440777a5f45f5f4112bf97;p=mesa.git nir/vtn: Support SpvOpIsFinite via fisfinite Reviewed-by: Alyssa Rosenzweig Reviewed-by: Karol Herbst Part-of: --- 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);