radeonsi: use nir_lower_fp16_casts

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25566>
This commit is contained in:
Rhys Perry
2023-11-09 19:27:31 +00:00
committed by Marge Bot
parent 288e9db053
commit 0e1e6c244b

View File

@@ -356,6 +356,8 @@ static void si_lower_nir(struct si_screen *sscreen, struct nir_shader *nir)
si_late_optimize_16bit_samplers(sscreen, nir);
NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_function_temp, NULL);
NIR_PASS_V(nir, nir_lower_fp16_casts, nir_lower_fp16_split_fp64);
}
static bool si_mark_divergent_texture_non_uniform(struct nir_shader *nir)