summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_compiler.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2019-03-03 10:10:46 -0600
committerJason Ekstrand <[email protected]>2019-03-06 17:24:57 +0000
commitfa4824c1db949bfd5a4f21436c81089892c6110c (patch)
tree25e5983a6d0172915f5c2c641a8d955115bd53ec /src/intel/compiler/brw_compiler.c
parent0ce1aea88b9a8bd037fbddfc0399ebc483349174 (diff)
intel/debug: Add a debug flag to force software fp64
Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_compiler.c')
-rw-r--r--src/intel/compiler/brw_compiler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_compiler.c b/src/intel/compiler/brw_compiler.c
index 28793b1f0e6..4101f99d992 100644
--- a/src/intel/compiler/brw_compiler.c
+++ b/src/intel/compiler/brw_compiler.c
@@ -159,7 +159,7 @@ brw_compiler_create(void *mem_ctx, const struct gen_device_info *devinfo)
nir_lower_dround_even |
nir_lower_dmod;
- if (!devinfo->has_64bit_types) {
+ if (!devinfo->has_64bit_types || (INTEL_DEBUG & DEBUG_SOFT64)) {
int64_options |= nir_lower_mov64 |
nir_lower_icmp64 |
nir_lower_iadd64 |