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:
@@ -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 = {
|
||||
|
Reference in New Issue
Block a user