From f9ec4ac5a146b4ffbeca078179297f847035ef7f Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Tue, 12 Dec 2017 19:01:44 -0800 Subject: [PATCH] intel/ir: Lower fpow on Gen12. Signed-off-by: Jordan Justen Reviewed-by: Francisco Jerez Reviewed-by: Kenneth Graunke --- src/intel/compiler/brw_compiler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/compiler/brw_compiler.c b/src/intel/compiler/brw_compiler.c index 20660d6fb28..6404339f06f 100644 --- a/src/intel/compiler/brw_compiler.c +++ b/src/intel/compiler/brw_compiler.c @@ -186,6 +186,7 @@ brw_compiler_create(void *mem_ctx, const struct gen_device_info *devinfo) */ nir_options->lower_ffma = devinfo->gen < 6; nir_options->lower_flrp32 = devinfo->gen < 6 || devinfo->gen >= 11; + nir_options->lower_fpow = devinfo->gen >= 12; nir_options->lower_rotate = devinfo->gen < 11; nir_options->lower_bitfield_reverse = devinfo->gen < 7; -- 2.30.2