Re: [Mesa-dev] [PATCH v2 14/28] glsl: Add support doubles in optimization passes

2015-02-07 Thread Ilia Mirkin
Hm... yeah. Looks like ir_binop_dot could use some help. I think I'm just going to guard it with a if (!float) for now. Most of the code is pretty good about checking it. On Fri, Feb 6, 2015 at 3:05 AM, Ian Romanick wrote: > Does opt_algebraic also need updates? > > On 02/06/2015 06:56 AM, Il

Re: [Mesa-dev] [PATCH v2 14/28] glsl: Add support doubles in optimization passes

2015-02-06 Thread Ian Romanick
Does opt_algebraic also need updates? On 02/06/2015 06:56 AM, Ilia Mirkin wrote: > From: Dave Airlie > > Signed-off-by: Dave Airlie > Reviewed-by: Matt Turner > --- > src/glsl/opt_constant_propagation.cpp | 3 +++ > src/glsl/opt_minmax.cpp | 13 + > 2 files changed,

[Mesa-dev] [PATCH v2 14/28] glsl: Add support doubles in optimization passes

2015-02-05 Thread Ilia Mirkin
From: Dave Airlie Signed-off-by: Dave Airlie Reviewed-by: Matt Turner --- src/glsl/opt_constant_propagation.cpp | 3 +++ src/glsl/opt_minmax.cpp | 13 + 2 files changed, 16 insertions(+) diff --git a/src/glsl/opt_constant_propagation.cpp b/src/glsl/opt_constant_pro