summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_ir.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-01-19 10:15:34 -0700
committerBrian <[email protected]>2007-01-19 10:15:34 -0700
commita0092c51b1c334ef8d4a58939dc583b2aafbce69 (patch)
tree5b7f779f3f46f0078d5cacbe48639ec8442f4b1e /src/mesa/shader/slang/slang_ir.h
parent8374ccb66ff13074a3f5938da1e22a48921c5328 (diff)
Implement fragment discard/kill.
Diffstat (limited to 'src/mesa/shader/slang/slang_ir.h')
-rw-r--r--src/mesa/shader/slang/slang_ir.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_ir.h b/src/mesa/shader/slang/slang_ir.h
index 34dd1bb6910..a337d61712b 100644
--- a/src/mesa/shader/slang/slang_ir.h
+++ b/src/mesa/shader/slang/slang_ir.h
@@ -90,7 +90,8 @@ typedef enum
IR_FLOAT,
IR_FIELD,
IR_I_TO_F, /* int[4] to float[4] conversion */
- IR_F_TO_I /* float[4] to int[4] conversion */
+ IR_F_TO_I, /* float[4] to int[4] conversion */
+ IR_KILL /* fragment kill/discard */
} slang_ir_opcode;