summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_ir.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2006-12-21 10:47:28 -0700
committerBrian <[email protected]>2006-12-21 10:47:28 -0700
commita0d6b506cdb1faa74d53fcb9d93de49985bc3e95 (patch)
treef0d418a56e647afb817dd26af704975127e4727a /src/mesa/shader/slang/slang_ir.h
parent356f8ea2132ca8b7a19869e5ff6d7c59a12bd5f0 (diff)
added IR_NEG for negation
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 188d7d96d34..7c5e0448618 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 */