projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4577eb7
)
lima: enable nir fsign lowering in ppir
author
Erico Nunes
<nunes.erico@gmail.com>
Tue, 16 Apr 2019 20:49:51 +0000
(22:49 +0200)
committer
Eric Anholt
<eric@anholt.net>
Fri, 19 Apr 2019 15:42:23 +0000
(15:42 +0000)
The mali utgard pp doesn't support a sign instruction.
Use the nir lowering function for fsign to implement fsign in ppir.
Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
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 b7f3658d521ec44555dbaf610cf8a009b39946de..72f3a6f10ad6aef9879bcff56c3d09834f219620 100644
(file)
--- a/
src/gallium/drivers/lima/lima_program.c
+++ b/
src/gallium/drivers/lima/lima_program.c
@@
-57,6
+57,7
@@
static const nir_shader_compiler_options fs_nir_options = {
.lower_sub = true,
.lower_flrp32 = true,
.lower_flrp64 = true,
+ .lower_fsign = true,
};
const void *