diff options
author | Brian <[email protected]> | 2007-01-20 09:27:40 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-01-20 09:27:40 -0700 |
commit | 5ae49cf3ed53fda6a904d7e90feef78495ae6903 (patch) | |
tree | 9314ccc16363edd6a4863788d864a60927dda6da /src/mesa/shader/slang/slang_ir.h | |
parent | a3e938b8da07e656775e88bb4b078429723689a2 (diff) |
Initial implementation of OPCODE_IF/ELSE/ENDIF instructions.
Diffstat (limited to 'src/mesa/shader/slang/slang_ir.h')
-rw-r--r-- | src/mesa/shader/slang/slang_ir.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_ir.h b/src/mesa/shader/slang/slang_ir.h index 4072c70f902..e5a0fa8eb5f 100644 --- a/src/mesa/shader/slang/slang_ir.h +++ b/src/mesa/shader/slang/slang_ir.h @@ -51,6 +51,9 @@ typedef enum IR_CJUMP0, /* conditional jump if zero */ IR_CJUMP1, /* conditional jump if one (or non-zero) */ IR_COND, /* conditional expression */ + IR_IF, /* high-level IF */ + IR_ELSE, /* high-level ELSE */ + IR_ENDIF, /* high-level ENDIF */ IR_CALL, /* call subroutine */ IR_MOVE, IR_ADD, |