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

Kenneth Graunke kenneth at whitecape.org
Sat Oct 22 17:39:53 PDT 2011


On 10/18/2011 12:31 PM, Eric Anholt wrote:
> v2: Avoid the C99 rounding functions, because I don't trust
> get/setting the C99 rounding mode from inside our library not having
> other side effects.  Instead, open-code roundEven() behavior around
> Mesa's IROUND, which we're already testing for C99 rounding mode
> safety.
> 
> Fixes glsl-1.30/compiler/built-in-functions/round*

For the series:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>




More information about the mesa-dev mailing list