> diff --git a/src/glsl/ir_builder.cpp b/src/glsl/ir_builder.cpp > index e12ae3c..31a457d 100644 > --- a/src/glsl/ir_builder.cpp > +++ b/src/glsl/ir_builder.cpp > @@ -264,6 +264,46 @@ abs(operand a) > return expr(ir_unop_abs, a); > } > > +ir_expression *neg(operand a) > +{ > + return expr(ir_unop_neg, a); > +} > + <snip> > +ir_expression* > +f2b(operand a) > +{ > + return expr(ir_unop_f2b, a); > +} > +
Any specific reason for the inconsistent folding before the function name? _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev