ir_constant_expression: Add support for builtins dFdx, dFdy, and fwidth.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 21 Jul 2010 23:57:10 +0000 (16:57 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 28 Jul 2010 22:46:26 +0000 (15:46 -0700)
commit38cb1b273f55f98349d981445cfe06351322b032
treefbe9582d40eff0f6856c060e05ddaa79fe0c43e1
parent46d91615a2f6e1beaee98f40af957ba1a1a6b349
ir_constant_expression: Add support for builtins dFdx, dFdy, and fwidth.

These always return zero (the derivative of a constant).
src/glsl/ir_constant_expression.cpp