summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authormichal <michal@michal-laptop.(none)>2007-08-06 17:03:51 +0100
committermichal <michal@michal-laptop.(none)>2007-08-06 17:03:51 +0100
commit1d45082f6e8fb2416fd37f6f1fa48fc21576cd1d (patch)
tree6c50a4647a80355954e236d739a4d20b55607df0 /src/mesa
parent2f35238394f366156e0ba413df5b757ad89e3c8d (diff)
Reorder opcodes.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/pipe/tgsi/core/tgsi_token.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mesa/pipe/tgsi/core/tgsi_token.h b/src/mesa/pipe/tgsi/core/tgsi_token.h
index 12fc6df2ee..c442457cd5 100644
--- a/src/mesa/pipe/tgsi/core/tgsi_token.h
+++ b/src/mesa/pipe/tgsi/core/tgsi_token.h
@@ -680,11 +680,10 @@ struct tgsi_immediate_float32
/*
* GLSL
*/
-#define TGSI_OPCODE_NOP 98
/* TGSI_OPCODE_ABS */
/* TGSI_OPCODE_ADD */
-#define TGSI_OPCODE_BGNLOOP2 99
-#define TGSI_OPCODE_BGNSUB 100
+#define TGSI_OPCODE_BGNLOOP2 98
+#define TGSI_OPCODE_BGNSUB 99
/* TGSI_OPCODE_BRA */
/* TGSI_OPCODE_BRK */
/* TGSI_OPCODE_CONT */
@@ -695,8 +694,8 @@ struct tgsi_immediate_float32
/* TGSI_OPCODE_DP4 */
/* TGSI_OPCODE_ELSE */
/* TGSI_OPCODE_ENDIF */
-#define TGSI_OPCODE_ENDLOOP2 101
-#define TGSI_OPCODE_ENDSUB 102
+#define TGSI_OPCODE_ENDLOOP2 100
+#define TGSI_OPCODE_ENDSUB 101
/* TGSI_OPCODE_EX2 */
/* TGSI_OPCODE_EXP */
/* TGSI_OPCODE_FLR */
@@ -711,10 +710,11 @@ struct tgsi_immediate_float32
/* TGSI_OPCODE_MIN */
/* TGSI_OPCODE_MOV */
/* TGSI_OPCODE_MUL */
-#define TGSI_OPCODE_NOISE1 103
-#define TGSI_OPCODE_NOISE2 104
-#define TGSI_OPCODE_NOISE3 105
-#define TGSI_OPCODE_NOISE4 106
+#define TGSI_OPCODE_NOISE1 102
+#define TGSI_OPCODE_NOISE2 103
+#define TGSI_OPCODE_NOISE3 104
+#define TGSI_OPCODE_NOISE4 105
+#define TGSI_OPCODE_NOP 106
/* TGSI_OPCODE_POW */
/* TGSI_OPCODE_RCP */
/* TGSI_OPCODE_RSQ */
@@ -764,7 +764,7 @@ struct tgsi_instruction
GLuint Extended : 1; /* BOOL */
};
-/*
+/*1
* If tgsi_instruction::Extended is TRUE, tgsi_instruction_ext follows.
*
* Then, tgsi_instruction::NumDstRegs of tgsi_dst_register follow.