diff options
author | Vadim Girlin <vadimgirlin@gmail.com> | 2011-11-13 22:08:33 +0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2011-11-13 17:10:02 -0500 |
commit | 8e366dc365d01213b71b87ace47d30938db74845 (patch) | |
tree | 14ceb822a3738e91691b2f8f7e87cef0fd79dd05 /src/gallium/drivers/r600/r600_asm.h | |
parent | 88a140cd199d585d15ce9b0b3ca27815bedf0d63 (diff) |
r600g: lazy load for AR register
Emit MOVA* instruction only when AR is used.
Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
Diffstat (limited to 'src/gallium/drivers/r600/r600_asm.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_asm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.h b/src/gallium/drivers/r600/r600_asm.h index 61caa4b915e..f4a6cfd33d6 100644 --- a/src/gallium/drivers/r600/r600_asm.h +++ b/src/gallium/drivers/r600/r600_asm.h @@ -184,6 +184,8 @@ struct r600_bytecode { struct r600_cf_stack_entry fc_stack[32]; unsigned call_sp; struct r600_cf_callstack callstack[SQ_MAX_CALL_DEPTH]; + unsigned ar_loaded; + unsigned ar_reg; }; /* eg_asm.c */ |