summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_printf.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2011-09-27 14:54:10 -0700
committerEric Anholt <eric@anholt.net>2011-10-23 00:37:14 -0700
commitdc637b66b25f341783efb53acc70e1bafbcba576 (patch)
treeebc06c0de2bd1af50a6251ef2e2056862245af5b /src/gallium/auxiliary/gallivm/lp_bld_printf.c
parentb27a67af892ef6fcb3bd00ac7be2966f834b9a8b (diff)
downloadexternal_mesa3d-dc637b66b25f341783efb53acc70e1bafbcba576.zip
external_mesa3d-dc637b66b25f341783efb53acc70e1bafbcba576.tar.gz
external_mesa3d-dc637b66b25f341783efb53acc70e1bafbcba576.tar.bz2
glsl: Add support for constant expression evaluation on round(), roundEven().
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* Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_printf.c')
0 files changed, 0 insertions, 0 deletions