From 7f95564a22d11ee3f54915ee02f9fa1f78c6adcf Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Thu, 26 Apr 2018 21:06:08 +0200 Subject: nir: rename f2f16_undef to f2f16 we need rounding modes on other conversions involving floats and it is easier to rename f2f16_undef than renaming all the other ones. v2: rebased on master Reviewed-by: Jason Ekstrand Acked-by: Rob Clark Signed-off-by: Karol Herbst --- src/amd/common/ac_nir_to_llvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/amd') diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index 542b880e888..44361be0d35 100644 --- a/src/amd/common/ac_nir_to_llvm.c +++ b/src/amd/common/ac_nir_to_llvm.c @@ -889,7 +889,7 @@ static void visit_alu(struct ac_nir_context *ctx, const nir_alu_instr *instr) result = LLVMBuildExtractElement(ctx->ac.builder, result, ctx->ac.i32_0, ""); break; case nir_op_f2f16_rtne: - case nir_op_f2f16_undef: + case nir_op_f2f16: case nir_op_f2f32: case nir_op_f2f64: src[0] = ac_to_float(&ctx->ac, src[0]); -- cgit v1.2.3