summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_instruction.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-11-07 09:33:55 -0700
committerBrian Paul <[email protected]>2008-11-07 09:51:25 -0700
commit37eef7b474c5d9a7c566f9edf35c797c5a98d065 (patch)
tree3f7e762b35fb88bbc08f69f83bf55d85caabb911 /src/mesa/shader/prog_instruction.h
parentd93072782aa8b7a6bb060c77f3a61adb3b655d58 (diff)
mesa: added AND/OR/NOT/XOR instructions
Diffstat (limited to 'src/mesa/shader/prog_instruction.h')
-rw-r--r--src/mesa/shader/prog_instruction.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_instruction.h b/src/mesa/shader/prog_instruction.h
index 3bcd0829a23..2cb2014cd48 100644
--- a/src/mesa/shader/prog_instruction.h
+++ b/src/mesa/shader/prog_instruction.h
@@ -145,6 +145,7 @@ typedef enum prog_opcode {
OPCODE_NOP = 0, /* X */
OPCODE_ABS, /* X X 1.1 X */
OPCODE_ADD, /* X X X X X */
+ OPCODE_AND, /* */
OPCODE_ARA, /* 2 */
OPCODE_ARL, /* X X */
OPCODE_ARL_NV, /* 2 */
@@ -188,8 +189,10 @@ typedef enum prog_opcode {
OPCODE_NOISE2, /* X */
OPCODE_NOISE3, /* X */
OPCODE_NOISE4, /* X */
+ OPCODE_NOT, /* */
OPCODE_NRM3, /* */
OPCODE_NRM4, /* */
+ OPCODE_OR, /* */
OPCODE_PK2H, /* X */
OPCODE_PK2US, /* X */
OPCODE_PK4B, /* X */
@@ -228,6 +231,7 @@ typedef enum prog_opcode {
OPCODE_UP4B, /* X */
OPCODE_UP4UB, /* X */
OPCODE_X2D, /* X */
+ OPCODE_XOR, /* */
OPCODE_XPD, /* X X X */
MAX_OPCODE
} gl_inst_opcode;