summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_ir.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-01-09 09:14:32 -0700
committerBrian <[email protected]>2007-01-09 09:14:32 -0700
commit855ebb26d1868d4c1e61a90c1533154b97bd41ff (patch)
tree0b694189dce4658bd36af46f51e70fcfb6ea91ff /src/mesa/shader/slang/slang_ir.h
parent20aec24ac7b4fba169dc6889b093f4dcc2c62bb6 (diff)
Implement shadow samplers and dFdx(), dFdy() code generation.
Diffstat (limited to 'src/mesa/shader/slang/slang_ir.h')
-rw-r--r--src/mesa/shader/slang/slang_ir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_ir.h b/src/mesa/shader/slang/slang_ir.h
index 273964a8f06..b106e85dbb5 100644
--- a/src/mesa/shader/slang/slang_ir.h
+++ b/src/mesa/shader/slang/slang_ir.h
@@ -74,6 +74,8 @@ typedef enum
IR_FRAC,
IR_ABS, /* absolute value */
IR_NEG, /* negate */
+ IR_DDX, /* derivative w.r.t. X */
+ IR_DDY, /* derivative w.r.t. Y */
IR_SIN, /* sine */
IR_COS, /* cosine */
IR_NOT, /* logical not */