From: Vasily Khoruzhick Date: Sat, 4 May 2019 14:51:27 +0000 (-0700) Subject: lima/gpir: enable lowering for ftrunc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4a249aa09d0571e07859f847494f728acb6ee77;p=mesa.git lima/gpir: enable lowering for ftrunc Reviewed-by: Qiang Yu Signed-off-by: Vasily Khoruzhick --- 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,