From 27822a6f0bf35d49d6b4f74248df1c2afb04aa64 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 29 Dec 2020 12:43:47 +1000 Subject: [PATCH] gallivm: use fp16 casts lowering Acked-by: Adam Jackson Reviewed-by: Roland Scheidegger Part-of: --- src/gallium/auxiliary/gallivm/lp_bld_nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir.c b/src/gallium/auxiliary/gallivm/lp_bld_nir.c index a98ea75..9354d03 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_nir.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_nir.c @@ -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); -- 2.7.4