diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-06-09 14:42:41 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2010-06-09 14:44:39 -0700 |
commit | b843c7a20c2d65494f30eb82622ae7db380f581a (patch) | |
tree | d39710afa28855bbd8a7684b22e97c9fc0177600 /ir.h | |
parent | cbd881da3fd2a68272988cf7fd21dfe006d47c8c (diff) |
Implement dFdx, dFdy, and fwidth via new expression opcodes.
Diffstat (limited to 'ir.h')
-rw-r--r-- | ir.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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, |