From bceae73b3f17278f69e86cde29ee4336669c2b65 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 22 Jul 2021 15:59:34 +1000 Subject: gallivm/nir: call pow with correct flt builder Reviewed-by: Roland Scheidegger Part-of: --- src/gallium/auxiliary/gallivm/lp_bld_nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/auxiliary/gallivm/lp_bld_nir.c') diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir.c b/src/gallium/auxiliary/gallivm/lp_bld_nir.c index 04dd86a3115..d451766b9db 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_nir.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_nir.c @@ -789,7 +789,7 @@ static LLVMValueRef do_alu_action(struct lp_build_nir_context *bld_base, result = lp_build_negate(get_flt_bld(bld_base, src_bit_size[0]), src[0]); break; case nir_op_fpow: - result = lp_build_pow(&bld_base->base, src[0], src[1]); + result = lp_build_pow(get_flt_bld(bld_base, src_bit_size[0]), src[0], src[1]); break; case nir_op_fquantize2f16: result = do_quantize_to_f16(bld_base, src[0]); -- cgit v1.2.1