diff options
author | Jordan Justen <[email protected]> | 2017-12-12 19:01:44 -0800 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2019-10-11 12:24:16 -0700 |
commit | f9ec4ac5a146b4ffbeca078179297f847035ef7f (patch) | |
tree | 42be1498f6a44e78a61bad5539561a27d2463cc1 /src | |
parent | cb6db5bfb3a3499f4adcfd78393ee34a90c2d376 (diff) |
intel/ir: Lower fpow on Gen12.
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/compiler/brw_compiler.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |