projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7579ae4
)
gallium/ttn: MOD is an integer instruction
author
Rob Clark
<robclark@freedesktop.org>
Sat, 4 Apr 2015 22:15:24 +0000
(18:15 -0400)
committer
Rob Clark
<robclark@freedesktop.org>
Sun, 5 Apr 2015 13:24:17 +0000
(09:24 -0400)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Eric Anholt <eric@anholt.net
src/gallium/auxiliary/nir/tgsi_to_nir.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/nir/tgsi_to_nir.c
b/src/gallium/auxiliary/nir/tgsi_to_nir.c
index 07afdb2733b9d9f1b74fe54f5a2506755ad52c46..da935a4130fda07f64d1a484fa504812adfb3eaf 100644
(file)
--- a/
src/gallium/auxiliary/nir/tgsi_to_nir.c
+++ b/
src/gallium/auxiliary/nir/tgsi_to_nir.c
@@
-1034,7
+1034,7
@@
static const nir_op op_trans[TGSI_OPCODE_LAST] = {
[TGSI_OPCODE_SHL] = nir_op_ishl,
[TGSI_OPCODE_AND] = nir_op_iand,
[TGSI_OPCODE_OR] = nir_op_ior,
- [TGSI_OPCODE_MOD] = nir_op_
f
mod,
+ [TGSI_OPCODE_MOD] = nir_op_
u
mod,
[TGSI_OPCODE_XOR] = nir_op_ixor,
[TGSI_OPCODE_SAD] = 0, /* XXX */
[TGSI_OPCODE_TXF] = 0,