Re: [Mesa-dev] [PATCH 11/22] glsl: Add ir_binop_mul to get_range

2015-01-04 Thread Bruno Jimenez
On Sat, 2015-01-03 at 20:18 +0100, Thomas Helland wrote: > V2: Add some air for readability > Use the new IS_CONSTANT macro > Combine if-blocks for reduced code-duplication > Split out into separate function for reuse later > --- > src/glsl/opt_minmax.cpp | 33 +

[Mesa-dev] [PATCH 11/22] glsl: Add ir_binop_mul to get_range

2015-01-03 Thread Thomas Helland
V2: Add some air for readability Use the new IS_CONSTANT macro Combine if-blocks for reduced code-duplication Split out into separate function for reuse later --- src/glsl/opt_minmax.cpp | 33 + 1 file changed, 33 insertions(+) diff --git a/src/glsl/opt