ir_constant_expression: Implement builtins that wrap an expression.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 21 Jul 2010 23:57:53 +0000 (16:57 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 28 Jul 2010 22:46:26 +0000 (15:46 -0700)
commit8b1680acc38cfbb6d2fc80ddab3f3eed24e2522a
tree961c9e856423141bd2ef640b4f77621a783e9986
parent38cb1b273f55f98349d981445cfe06351322b032
ir_constant_expression: Implement builtins that wrap an expression.

These builtin functions are represented by ir_expression_operations, so
we can just create one of those and ask for its value.
src/glsl/ir_constant_expression.cpp