From a0092c51b1c334ef8d4a58939dc583b2aafbce69 Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 19 Jan 2007 10:15:34 -0700 Subject: Implement fragment discard/kill. --- src/mesa/shader/slang/slang_ir.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mesa/shader/slang/slang_ir.h') 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; -- cgit v1.2.3