From: Jesse Natalie Date: Mon, 8 Jun 2020 12:55:39 +0000 (-0700) Subject: nir/vtn: Support SpvOpIsNormal via fisnormal X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6e6f52206ebaecb68ce404307e626f62afdb6ba;p=mesa.git nir/vtn: Support SpvOpIsNormal via fisnormal 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 a00e241fe61..986751697b5 100644 --- a/src/compiler/spirv/vtn_alu.c +++ b/src/compiler/spirv/vtn_alu.c @@ -353,6 +353,8 @@ vtn_nir_alu_op_for_spirv_opcode(struct vtn_builder *b, case SpvOpDPdxCoarse: return nir_op_fddx_coarse; case SpvOpDPdyCoarse: return nir_op_fddy_coarse; + case SpvOpIsNormal: return nir_op_fisnormal; + default: vtn_fail("No NIR equivalent: %u", opcode); }