projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4659be
)
lima/gpir: enable lowering for ftrunc
author
Vasily Khoruzhick
<anarsoul@gmail.com>
Sat, 4 May 2019 14:51:27 +0000
(07:51 -0700)
committer
Qiang Yu
<yuq825@gmail.com>
Tue, 7 May 2019 01:07:27 +0000
(
01:07
+0000)
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/lima_program.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/lima/lima_program.c
b/src/gallium/drivers/lima/lima_program.c
index 21e64fb6aafcd3fed8b7a41ef0dd804c37a7cdc9..1c5057cc9f7bdc0dd7f5b6b4938f5428ef42f87f 100644
(file)
--- 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,