r300g: implement ARR opcode
authorDavid Heidelberg <david@ixit.cz>
Fri, 19 Dec 2014 13:11:21 +0000 (14:11 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 21 Dec 2014 19:34:19 +0000 (20:34 +0100)
commitfbfe2918f4e48d0315983b24352e9d3ce7c382f1
treefa36a7f05595172c2272ba86c0f9dea4b781ab54
parentaa6415b4852557ed91b4f31065a79b2a6c987c53
r300g: implement ARR opcode

Same as ARL, just has extra rounding.
Useful for st/nine.

Tested-by: Pavel Ondračka <pavel.ondracka@email.cz>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: David Heidelberg <david@ixit.cz>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r300/compiler/r3xx_vertprog.c
src/gallium/drivers/r300/compiler/radeon_opcodes.c
src/gallium/drivers/r300/compiler/radeon_opcodes.h
src/gallium/drivers/r300/r300_tgsi_to_rc.c