From 8b98d0954e6168484479cf51d56bface448d00d5 Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Tue, 5 Feb 2019 15:56:24 +0000 Subject: nir/lower_idiv: add new llvm-based path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v2: make variable names snake_case v2: minor cleanups in emit_udiv() v2: fix Panfrost build failure v3: use an enum instead of a boolean flag in nir_lower_idiv()'s signature v4: remove nir_op_urcp v5: drop nv50 path v5: rebase v6: add back nv50 path v6: add comment for nir_lower_idiv_path enum v7: rename _nv50/_llvm to _fast/_precise v8: fix etnaviv build failure Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann --- src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/etnaviv') diff --git a/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c b/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c index 96b669787fe..4cf48b46e78 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c +++ b/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c @@ -762,7 +762,7 @@ etna_compile_shader_nir(struct etna_shader_variant *v) OPT_V(s, nir_opt_algebraic); OPT_V(s, nir_lower_bool_to_float); } else { - OPT_V(s, nir_lower_idiv); + OPT_V(s, nir_lower_idiv, nir_lower_idiv_fast); OPT_V(s, nir_lower_bool_to_int32); } -- cgit v1.2.3