r300/compiler: Implement ROUND
authorTom Stellard <tstellar@gmail.com>
Mon, 5 Sep 2011 13:57:36 +0000 (06:57 -0700)
committerTom Stellard <tstellar@gmail.com>
Sat, 10 Sep 2011 13:36:53 +0000 (06:36 -0700)
commit3d32e589879806297258e36ea80aae5044293ca3
tree5c4fd44acd9583947515e5afc74fd752c9c92bcb
parent2a5cbc5306686a5ad210317843bd0dc7950b6ce9
r300/compiler: Implement ROUND

According to the GLSL spec, the implementor can decide which way to round
when the fraction is .5.  The r300 compiler will round down.
src/gallium/drivers/r300/compiler/radeon_opcodes.c
src/gallium/drivers/r300/compiler/radeon_opcodes.h
src/gallium/drivers/r300/compiler/radeon_program_alu.c
src/gallium/drivers/r300/r300_tgsi_to_rc.c