Mesa (master): lima/gpir: enable lowering for ftrunc

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue May 7 01:15:39 UTC 2019


Module: Mesa
Branch: master
Commit: d4a249aa09d0571e07859f847494f728acb6ee77
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4a249aa09d0571e07859f847494f728acb6ee77

Author: Vasily Khoruzhick <anarsoul at gmail.com>
Date:   Sat May  4 07:51:27 2019 -0700

lima/gpir: enable lowering for ftrunc

Reviewed-by: Qiang Yu <yuq825 at gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul at gmail.com>

---

 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 21e64fb6aaf..1c5057cc9f7 100644
--- a/src/gallium/drivers/lima/lima_program.c
+++ b/src/gallium/drivers/lima/lima_program.c
@@ -47,6 +47,7 @@ static const nir_shader_compiler_options vs_nir_options = {
    .lower_sub = true,
    .lower_flrp32 = true,
    .lower_flrp64 = true,
+   .lower_ftrunc = true,
    /* could be implemented by clamp */
    .lower_fsat = true,
    .native_integers = true,




More information about the mesa-commit mailing list