lima: enable lower_bitops in ppir

The mali pp doesn't support integers and some nir_algebraic
optimizations may result in ops that are not easily lowerable to floats,
so disable optimizations resulting in bitops.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Jonathan Marek <jonathan@marek.ca>
This commit is contained in:
Erico Nunes 2019-07-18 21:13:19 +02:00
parent b3676a6548
commit 82bf5a8aac
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ static const nir_shader_compiler_options fs_nir_options = {
.lower_fsign = true,
.lower_rotate = true,
.lower_fdot = true,
.lower_bitops = true,
};
static const struct nir_lower_tex_options tex_options = {