diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir.c b/src/gallium/auxiliary/gallivm/lp_bld_nir.c index a47fc3b4742..79d06f062fc 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_nir.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_nir.c @@ -2967,7 +2967,7 @@ lp_build_opt_nir(struct nir_shader *nir) } NIR_PASS_V(nir, nir_lower_flrp, 16|32|64, true); - NIR_PASS_V(nir, nir_lower_fp16_casts, nir_lower_fp16_all); + NIR_PASS_V(nir, nir_lower_fp16_casts, nir_lower_fp16_all | nir_lower_fp16_split_fp64); do { progress = false; NIR_PASS(progress, nir, nir_opt_constant_folding);