From a0d6b506cdb1faa74d53fcb9d93de49985bc3e95 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 21 Dec 2006 10:47:28 -0700 Subject: added IR_NEG for negation --- 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 188d7d9..7c5e044 100644 --- a/src/mesa/shader/slang/slang_ir.h +++ b/src/mesa/shader/slang/slang_ir.h @@ -72,7 +72,8 @@ typedef enum IR_RCP, /* recipricol */ IR_FLOOR, IR_FRAC, - IR_ABS, + IR_ABS, /* absolute value */ + IR_NEG, /* negate */ IR_SIN, /* sine */ IR_COS, /* cosine */ IR_NOT, /* logical not */ -- cgit v1.1