Revert "r600g: set round_mode to truncate and get rid of tgsi_f2i on evergreen"
authorVadim Girlin <vadimgirlin@gmail.com>
Fri, 25 May 2012 13:28:08 +0000 (17:28 +0400)
committerVadim Girlin <vadimgirlin@gmail.com>
Fri, 25 May 2012 13:28:08 +0000 (17:28 +0400)
commita1a0974401c467cb86ef818f22df67c21774a38c
tree3aacfc1812c7c6116db580bf0705f9c0f3264253
parent1c5c4243c9c10666280a540fb2789c2d09e095b3
Revert "r600g: set round_mode to truncate and get rid of tgsi_f2i on evergreen"

This reverts commit 60bf0f05b472e66bf1175fcec7a274dab6f7e2a3.

It seems round_mode behaves differently in some cases depending on  the
instruction/slot. Reverting it for now.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=50232

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_shader.c