summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2010-01-02 11:00:40 +0100
committerMichal Krol <[email protected]>2010-01-05 09:28:27 +0100
commitc34f6faf35c16ff81a1c4420290be4ed7f542121 (patch)
treef92475688435b37da4271d468a9cfd0f7c6f19b0 /src/gallium/include/pipe
parent062aab96e015021f3b83067848495a8ce2d92456 (diff)
gallium: Add UMOD TGSI opcode.
Either that or have UDIV have two destination operands.
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
index f8d4a45dfd4..550e2abc32a 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -308,17 +308,18 @@ struct tgsi_property_data {
#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_SWITCH 140
-#define TGSI_OPCODE_CASE 141
-#define TGSI_OPCODE_DEFAULT 142
-#define TGSI_OPCODE_ENDSWITCH 143
-#define TGSI_OPCODE_LAST 144
+#define TGSI_OPCODE_UMOD 134
+#define TGSI_OPCODE_UMUL 135
+#define TGSI_OPCODE_USEQ 136
+#define TGSI_OPCODE_USGE 137
+#define TGSI_OPCODE_USHR 138
+#define TGSI_OPCODE_USLT 139
+#define TGSI_OPCODE_USNE 140
+#define TGSI_OPCODE_SWITCH 141
+#define TGSI_OPCODE_CASE 142
+#define TGSI_OPCODE_DEFAULT 143
+#define TGSI_OPCODE_ENDSWITCH 144
+#define TGSI_OPCODE_LAST 145
#define TGSI_SAT_NONE 0 /* do not saturate */
#define TGSI_SAT_ZERO_ONE 1 /* clamp to [0,1] */