r300g: implement TRUNC correctly
authorMarek Olšák <maraeo@gmail.com>
Mon, 27 Aug 2012 05:38:15 +0000 (07:38 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 27 Aug 2012 12:35:18 +0000 (14:35 +0200)
commit7f0fcf17c342dcb788c2182b20973c48806ee498
treea41fbe9647bca0a778b1e2a7e8bdb9f1bb4b6ad7
parentf402acdbe244e5de9b2b616e0a908f5d1416ce89
r300g: implement TRUNC correctly

This fixes some integer division tests.
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