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 <nunes.erico@gmail.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
This commit is contained in:
Erico Nunes
2019-07-27 18:10:46 +02:00
parent 4a407df682
commit 99c956fb47
5 changed files with 5 additions and 80 deletions

View File

@@ -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 = {