Module: Mesa Branch: master Commit: 2288b59ddc4925aaa09b416bdd6d95f4f24199db URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2288b59ddc4925aaa09b416bdd6d95f4f24199db
Author: Erico Nunes <[email protected]> Date: Tue Apr 16 22:49:51 2019 +0200 lima: enable nir fsign lowering in ppir The mali utgard pp doesn't support a sign instruction. Use the nir lowering function for fsign to implement fsign in ppir. Signed-off-by: Erico Nunes <[email protected]> Reviewed-by: Eric Anholt <[email protected]> --- src/gallium/drivers/lima/lima_program.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/lima/lima_program.c b/src/gallium/drivers/lima/lima_program.c index b7f3658d521..72f3a6f10ad 100644 --- a/src/gallium/drivers/lima/lima_program.c +++ b/src/gallium/drivers/lima/lima_program.c @@ -57,6 +57,7 @@ static const nir_shader_compiler_options fs_nir_options = { .lower_sub = true, .lower_flrp32 = true, .lower_flrp64 = true, + .lower_fsign = true, }; const void * _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
