summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_instruction.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-01-20 09:27:40 -0700
committerBrian <[email protected]>2007-01-20 09:27:40 -0700
commit5ae49cf3ed53fda6a904d7e90feef78495ae6903 (patch)
tree9314ccc16363edd6a4863788d864a60927dda6da /src/mesa/shader/prog_instruction.h
parenta3e938b8da07e656775e88bb4b078429723689a2 (diff)
Initial implementation of OPCODE_IF/ELSE/ENDIF instructions.
Diffstat (limited to 'src/mesa/shader/prog_instruction.h')
-rw-r--r--src/mesa/shader/prog_instruction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_instruction.h b/src/mesa/shader/prog_instruction.h
index b6598796510..b1001885e0a 100644
--- a/src/mesa/shader/prog_instruction.h
+++ b/src/mesa/shader/prog_instruction.h
@@ -143,11 +143,14 @@ typedef enum prog_opcode {
OPCODE_DP4, /* X X X X */
OPCODE_DPH, /* X X 1.1 */
OPCODE_DST, /* X X X X */
+ OPCODE_ELSE,
OPCODE_END, /* X X X X */
+ OPCODE_ENDIF,
OPCODE_EX2, /* X X 2 X */
OPCODE_EXP, /* X X */
OPCODE_FLR, /* X X 2 X */
OPCODE_FRC, /* X X 2 X */
+ OPCODE_IF,
OPCODE_INT, /* */
OPCODE_KIL, /* X */
OPCODE_KIL_NV, /* X */