gallivm: use fp16 casts lowering

Acked-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9643>
This commit is contained in:
Dave Airlie 2020-12-29 12:43:47 +10:00
parent 48080e5bdf
commit 27822a6f0b
1 changed files with 1 additions and 1 deletions

View File

@ -2289,7 +2289,7 @@ void lp_build_opt_nir(struct nir_shader *nir)
NIR_PASS_V(nir, nir_lower_frexp);
NIR_PASS_V(nir, nir_lower_flrp, 16|32|64, true);
NIR_PASS_V(nir, nir_lower_fp16_casts);
do {
progress = false;
NIR_PASS_V(nir, nir_opt_constant_folding);