summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_ir.h
diff options
context:
space:
mode:
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 188d7d96d3..7c5e044861 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 */