summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-12-23 16:51:31 +0100
committerMichal Krol <[email protected]>2010-01-05 09:26:43 +0100
commitc59eda099306aca3a950f7157bde6fe84d0db604 (patch)
tree10976d0a7e7796f40c8acc8ebf59d2bf782987af /src/gallium
parent7836a96657eeb1b1a924d582bbf9db5b1692fadc (diff)
gallium: Add more integer TGSI opcodes.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
index 7b19364b975..0288e3dd720 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -289,7 +289,28 @@ struct tgsi_property_data {
#define TGSI_OPCODE_KIL 116 /* conditional kill */
#define TGSI_OPCODE_END 117 /* aka HALT */
/* gap */
-#define TGSI_OPCODE_LAST 119
+#define TGSI_OPCODE_F2I 119
+#define TGSI_OPCODE_IDIV 120
+#define TGSI_OPCODE_IMAX 121
+#define TGSI_OPCODE_IMIN 122
+#define TGSI_OPCODE_INEG 123
+#define TGSI_OPCODE_ISGE 124
+#define TGSI_OPCODE_ISHR 125
+#define TGSI_OPCODE_ISLT 126
+#define TGSI_OPCODE_F2U 127
+#define TGSI_OPCODE_U2F 128
+#define TGSI_OPCODE_UADD 129
+#define TGSI_OPCODE_UDIV 130
+#define TGSI_OPCODE_UMAD 131
+#define TGSI_OPCODE_UMAX 132
+#define TGSI_OPCODE_UMIN 133
+#define TGSI_OPCODE_UMUL 134
+#define TGSI_OPCODE_USEQ 135
+#define TGSI_OPCODE_USGE 136
+#define TGSI_OPCODE_USHR 137
+#define TGSI_OPCODE_USLT 138
+#define TGSI_OPCODE_USNE 139
+#define TGSI_OPCODE_LAST 140
#define TGSI_SAT_NONE 0 /* do not saturate */
#define TGSI_SAT_ZERO_ONE 1 /* clamp to [0,1] */