diff options
author | Vasily Khoruzhick <[email protected]> | 2019-05-04 07:51:27 -0700 |
---|---|---|
committer | Qiang Yu <[email protected]> | 2019-05-07 01:07:27 +0000 |
commit | d4a249aa09d0571e07859f847494f728acb6ee77 (patch) | |
tree | 994371081d60962ddeaf96ead6ffebe542799bb0 /src/gallium | |
parent | f4659bea7c78ad7a578f40fcfd093c0ed11792d1 (diff) |
lima/gpir: enable lowering for ftrunc
Reviewed-by: Qiang Yu <[email protected]>
Signed-off-by: Vasily Khoruzhick <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/lima/lima_program.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |