diff options
author | Erico Nunes <[email protected]> | 2019-07-27 18:10:46 +0200 |
---|---|---|
committer | Erico Nunes <[email protected]> | 2019-07-31 21:35:58 +0200 |
commit | 99c956fb470637304c092855520697e08b598356 (patch) | |
tree | e6a8418f3b3738f9c130b6007829868fe2e28cc1 /src/gallium/drivers/lima/lima_program.c | |
parent | 4a407df68297b434c4489e6d28c2dd18e9eec326 (diff) |
lima/ppir: lower fdot in nir_opt_algebraic
Now that we have fsum in nir, we can move fdot lowering there.
This helps reduce ppir complexity and enables the lowered ops to be part
of other nir optimizations in the optimization loop.
Signed-off-by: Erico Nunes <[email protected]>
Reviewed-by: Qiang Yu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima/lima_program.c')
-rw-r--r-- | src/gallium/drivers/lima/lima_program.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/lima/lima_program.c b/src/gallium/drivers/lima/lima_program.c index 0a9e522ba36..610782306e9 100644 --- a/src/gallium/drivers/lima/lima_program.c +++ b/src/gallium/drivers/lima/lima_program.c @@ -66,6 +66,7 @@ static const nir_shader_compiler_options fs_nir_options = { .lower_flrp64 = true, .lower_fsign = true, .lower_rotate = true, + .lower_fdot = true, }; static const struct nir_lower_tex_options tex_options = { |