summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_asm.h
diff options
context:
space:
mode:
authorVadim Girlin <vadimgirlin@gmail.com>2011-11-13 22:08:33 +0400
committerAlex Deucher <alexander.deucher@amd.com>2011-11-13 17:10:02 -0500
commit8e366dc365d01213b71b87ace47d30938db74845 (patch)
tree14ceb822a3738e91691b2f8f7e87cef0fd79dd05 /src/gallium/drivers/r600/r600_asm.h
parent88a140cd199d585d15ce9b0b3ca27815bedf0d63 (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.h2
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 */