From 37f5395783d5ccde078e2eb0dbcc7e846f06d9da Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Thu, 6 Jun 2019 16:29:35 +0200 Subject: [PATCH] freedreno/ir3: Enabling lowering 16-bit flrp Reviewed-by: Rob Clark --- src/freedreno/ir3/ir3_nir.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedreno/ir3/ir3_nir.c b/src/freedreno/ir3/ir3_nir.c index afcd87a16b9..5af50c45b9c 100644 --- a/src/freedreno/ir3/ir3_nir.c +++ b/src/freedreno/ir3/ir3_nir.c @@ -37,6 +37,7 @@ static void ir3_setup_const_state(struct ir3_shader *shader, nir_shader *nir); static const nir_shader_compiler_options options = { .lower_fpow = true, .lower_scmp = true, + .lower_flrp16 = true, .lower_flrp32 = true, .lower_flrp64 = true, .lower_ffract = true, @@ -64,6 +65,7 @@ static const nir_shader_compiler_options options = { static const nir_shader_compiler_options options_a6xx = { .lower_fpow = true, .lower_scmp = true, + .lower_flrp16 = true, .lower_flrp32 = true, .lower_flrp64 = true, .lower_ffract = true, -- 2.30.2