diff options
author | Jason Ekstrand <[email protected]> | 2016-05-05 16:58:44 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-05-11 11:44:35 -0700 |
commit | 1b72c31e1f1947123d8c236b56e230f030f60cf9 (patch) | |
tree | 03ec41421f5e06d29d64af7303bc5c11084edba7 /src/compiler/nir/nir.h | |
parent | 5886d1bad13a1c0106b7f42191bbc399fff4a0d9 (diff) |
nir/algebraic: Separate ffma lowering from fusing
The i965 driver has its own pass for fusing mul+add combinations that's
much smarter than what nir_opt_algebraic can do so we don't want to get the
nir_opt_algebraic one just because we didn't set lower_ffma.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index c96eaf9c3fc..20927a26abf 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -1624,6 +1624,7 @@ typedef struct nir_function { typedef struct nir_shader_compiler_options { bool lower_fdiv; bool lower_ffma; + bool fuse_ffma; bool lower_flrp32; /** Lowers flrp when it does not support doubles */ bool lower_flrp64; |