On 12/01/2014 05:47 AM, Abdiel Janulgue wrote: > Signed-off-by: Abdiel Janulgue <abdiel.janul...@linux.intel.com> > --- > src/glsl/opt_algebraic.cpp | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/src/glsl/opt_algebraic.cpp b/src/glsl/opt_algebraic.cpp > index 430f5cb..89fc0de 100644 > --- a/src/glsl/opt_algebraic.cpp > +++ b/src/glsl/opt_algebraic.cpp > @@ -679,7 +679,8 @@ ir_algebraic_visitor::handle_expression(ir_expression *ir) > > case ir_binop_min: > case ir_binop_max: > - if (ir->type->base_type != GLSL_TYPE_FLOAT) > + if (ir->type->base_type != GLSL_TYPE_FLOAT || > + options->EmitNoSat)
I think this will all fit on one line. > break; > > /* Replace min(max) operations and its commutative combinations with > _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev