Re: [Mesa-dev] [PATCH 3/5] glsl: Consolidate duplicate copies of constant folding.

2016-05-09 Thread Ian Romanick
This patch is Reviewed-by: Ian Romanick On 05/09/2016 08:50 AM, Kenneth Graunke wrote: > We could probably clean this up more (maybe make it a method), but at > least there's only one copy of this code now, and that's a start. > > No change in shader-db. > > Signed-off-by: Kenneth Graunke > -

[Mesa-dev] [PATCH 3/5] glsl: Consolidate duplicate copies of constant folding.

2016-05-08 Thread Kenneth Graunke
We could probably clean this up more (maybe make it a method), but at least there's only one copy of this code now, and that's a start. No change in shader-db. Signed-off-by: Kenneth Graunke --- src/compiler/glsl/ir_optimization.h| 2 ++ src/compiler/glsl/opt_constant_folding.cpp