Re: [Mesa-dev] [PATCH 7/7] glsl: Add support for constant expression evaluation on round(), roundEven().

2011-09-28 Thread Eric Anholt
On Wed, 28 Sep 2011 01:06:14 -0700, Kenneth Graunke kenn...@whitecape.org wrote: On 09/27/2011 03:08 PM, Eric Anholt wrote: They're both implemented the same in GLSL IR (since round() has undefined behavior for N.5). Fixes glsl-1.30/compiler/built-in-functions/round* ---

[Mesa-dev] [PATCH 7/7] glsl: Add support for constant expression evaluation on round(), roundEven().

2011-09-27 Thread Eric Anholt
They're both implemented the same in GLSL IR (since round() has undefined behavior for N.5). Fixes glsl-1.30/compiler/built-in-functions/round* --- src/glsl/ir_constant_expression.cpp | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git

Re: [Mesa-dev] [PATCH 7/7] glsl: Add support for constant expression evaluation on round(), roundEven().

2011-09-27 Thread Chad Versace
On 09/27/2011 03:08 PM, Eric Anholt wrote: They're both implemented the same in GLSL IR (since round() has undefined behavior for N.5). Fixes glsl-1.30/compiler/built-in-functions/round* --- src/glsl/ir_constant_expression.cpp | 10 ++ 1 files changed, 10 insertions(+), 0