lima/gpir: enable lowering for ftrunc

Reviewed-by: Qiang Yu <yuq825@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
This commit is contained in:
Vasily Khoruzhick
2019-05-04 07:51:27 -07:00
committed by Qiang Yu
parent f4659bea7c
commit d4a249aa09

View File

@@ -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,