summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-12-23 17:00:15 +0100
committerMichal Krol <michal@vmware.com>2010-01-05 09:26:46 +0100
commitdf0826fba37f38e9ea094180c71f2460e5b50e38 (patch)
tree9140bc560e765724a576dcbd2992879bf39a99e5 /src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h
parentc59eda099306aca3a950f7157bde6fe84d0db604 (diff)
tgsi: Implement new integer opcodes.
Update interpreter and ureg. Also, get rid of SHR -- it's actually an alias for ISHR.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h b/src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h
index b34263da48..a35186c223 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h
@@ -124,7 +124,6 @@ OP11(I2F)
OP11(NOT)
OP11(TRUNC)
OP12(SHL)
-OP12(SHR)
OP12(AND)
OP12(OR)
OP12(MOD)
@@ -146,6 +145,27 @@ OP01(IFC)
OP01(BREAKC)
OP01(KIL)
OP00(END)
+OP11(F2I)
+OP12(IDIV)
+OP12(IMAX)
+OP12(IMIN)
+OP11(INEG)
+OP12(ISGE)
+OP12(ISHR)
+OP12(ISLT)
+OP11(F2U)
+OP11(U2F)
+OP12(UADD)
+OP12(UDIV)
+OP13(UMAD)
+OP12(UMAX)
+OP12(UMIN)
+OP12(UMUL)
+OP12(USEQ)
+OP12(USGE)
+OP12(USHR)
+OP12(USLT)
+OP12(USNE)
#undef OP00