diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-05-03 22:11:17 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-05-14 16:34:46 -0700 |
commit | 57e7da173e8d38bf0c95ded535cdf1b12a00a1a2 (patch) | |
tree | dcab2273d6547f95a4df5a623c7af4c196cab09c /ir.h | |
parent | 6a9b1e1f06c2859f0c20375189c6ff02ed769d1a (diff) |
Implement "sin" and "cos" builtins via new expression operators.
Diffstat (limited to 'ir.h')
-rw-r--r-- | ir.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -449,6 +449,14 @@ enum ir_expression_operation { ir_unop_floor, /*@}*/ + /** + * \name Trigonometric operations. + */ + /*@{*/ + ir_unop_sin, + ir_unop_cos, + /*@}*/ + ir_binop_add, ir_binop_sub, ir_binop_mul, |