diff --git a/src/imagination/vulkan/pvr_usc.c b/src/imagination/vulkan/pvr_usc.c index f5913c86c01..7fb7003121f 100644 --- a/src/imagination/vulkan/pvr_usc.c +++ b/src/imagination/vulkan/pvr_usc.c @@ -658,7 +658,7 @@ static nir_def *resolve_samples(nir_builder *b, switch (resolve_op) { case PVR_RESOLVE_BLEND: - op = nir_op_ffma_old; + op = nir_op_ffma_weak; coeff = nir_imm_float(b, 1.0 / num_samples); break; @@ -683,7 +683,7 @@ static nir_def *resolve_samples(nir_builder *b, for (unsigned i = 1; i < num_samples; i++) { if (resolve_op == PVR_RESOLVE_BLEND) - accum = nir_ffma_old(b, samples[i], coeff, accum); + accum = nir_ffma_weak(b, samples[i], coeff, accum); else accum = nir_build_alu2(b, op, samples[i], accum); } @@ -866,7 +866,7 @@ pvr_uscgen_tq_frag_coords(nir_builder *b, nir_vec2(b, nir_load_preamble(b, 1, 32, .base = *next_sh + base_sh + 1), nir_load_preamble(b, 1, 32, .base = *next_sh + base_sh + 3)); - coords = nir_fmad_old(b, coords, mult, add); + coords = nir_ffma_weak(b, coords, mult, add); *next_sh += 4; }