diff --git a/src/compiler/nir/nir_lower_alu_newton_raphson.c b/src/compiler/nir/nir_lower_alu_newton_raphson.c index 9fa0d446f758156139bd724583280480d7e0ddd0..05ce30390c784b154f0e3f2028b896ae1cd80ae9 100644 --- a/src/compiler/nir/nir_lower_alu_newton_raphson.c +++ b/src/compiler/nir/nir_lower_alu_newton_raphson.c @@ -73,12 +73,12 @@ lower_alu_instr_scalar(nir_alu_instr *instr, nir_fsub(b, nir_imm_float(b, 1.5), nir_fmul(b, - nir_imm_float(b, 0.5), nir_fmul(b, arg0, - nir_fmul(b, - approx, - approx))))); + nir_imm_float(b, 0.5)), + nir_fmul(b, + approx, + approx)))); break; default: