summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-06-09 14:42:41 -0700
committerKenneth Graunke <kenneth@whitecape.org>2010-06-09 14:44:39 -0700
commitb843c7a20c2d65494f30eb82622ae7db380f581a (patch)
treed39710afa28855bbd8a7684b22e97c9fc0177600 /ir.h
parentcbd881da3fd2a68272988cf7fd21dfe006d47c8c (diff)
Implement dFdx, dFdy, and fwidth via new expression opcodes.
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ir.h b/ir.h
index 78ea196ffb..ea4f549468 100644
--- a/ir.h
+++ b/ir.h
@@ -494,6 +494,14 @@ enum ir_expression_operation {
ir_unop_cos,
/*@}*/
+ /**
+ * \name Partial derivatives.
+ */
+ /*@{*/
+ ir_unop_dFdx,
+ ir_unop_dFdy,
+ /*@}*/
+
ir_binop_add,
ir_binop_sub,
ir_binop_mul,