From: Mike Blumenkrantz Date: Tue, 16 Jun 2020 15:17:47 +0000 (-0400) Subject: zink: handle isign alu in ntv X-Git-Tag: upstream/21.0.0~8207 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=49c13fccf75faf5f3befb87d94e86665f57b1898;p=platform%2Fupstream%2Fmesa.git zink: handle isign alu in ntv Reviewed-by: Erik Faye-Lund Part-of: --- diff --git a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c index 40a0b26..00410a7 100644 --- a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c +++ b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c @@ -1239,6 +1239,7 @@ emit_alu(struct ntv_context *ctx, nir_alu_instr *alu) BUILTIN_UNOP(nir_op_ftrunc, GLSLstd450Trunc) BUILTIN_UNOP(nir_op_fround_even, GLSLstd450RoundEven) BUILTIN_UNOP(nir_op_fsign, GLSLstd450FSign) + BUILTIN_UNOP(nir_op_isign, GLSLstd450SSign) BUILTIN_UNOP(nir_op_fsin, GLSLstd450Sin) BUILTIN_UNOP(nir_op_fcos, GLSLstd450Cos) #undef BUILTIN_UNOP