From: Jordan Justen Date: Wed, 13 Dec 2017 03:01:44 +0000 (-0800) Subject: intel/ir: Lower fpow on Gen12. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9ec4ac5a146b4ffbeca078179297f847035ef7f;p=mesa.git intel/ir: Lower fpow on Gen12. Signed-off-by: Jordan Justen Reviewed-by: Francisco Jerez Reviewed-by: Kenneth Graunke --- 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;