r600g: lazy load for AR register
authorVadim Girlin <vadimgirlin@gmail.com>
Sun, 13 Nov 2011 18:08:33 +0000 (22:08 +0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sun, 13 Nov 2011 22:10:02 +0000 (17:10 -0500)
commit8e366dc365d01213b71b87ace47d30938db74845
tree14ceb822a3738e91691b2f8f7e87cef0fd79dd05
parent88a140cd199d585d15ce9b0b3ca27815bedf0d63
r600g: lazy load for AR register

Emit MOVA* instruction only when AR is used.

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_asm.h
src/gallium/drivers/r600/r600_shader.c