summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_asm.h
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2013-01-22 21:22:11 +0100
committerTom Stellard <[email protected]>2013-01-28 18:30:38 +0000
commit33dc412b8901ec6b693644a40b1cd62a2cde2e99 (patch)
treedfdd5e5a7bd5b76557e52cf8c2b279a8263d85af /src/gallium/drivers/r600/r600_asm.h
parent0ba0926861f489261e45404cd57d8f92add9e1ee (diff)
r600g: Add ar_chan member to struct r600_bytecode
r600_bytecode::ar_chan stores the register channel for the value that will be loaded into the AR register. At the moment, this field is only used by the LLVM backend. The default backend always sets ar_chan = 0.
Diffstat (limited to 'src/gallium/drivers/r600/r600_asm.h')
-rw-r--r--src/gallium/drivers/r600/r600_asm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.h b/src/gallium/drivers/r600/r600_asm.h
index 182f403aa77..0b33c380098 100644
--- a/src/gallium/drivers/r600/r600_asm.h
+++ b/src/gallium/drivers/r600/r600_asm.h
@@ -213,6 +213,7 @@ struct r600_bytecode {
struct r600_cf_callstack callstack[SQ_MAX_CALL_DEPTH];
unsigned ar_loaded;
unsigned ar_reg;
+ unsigned ar_chan;
unsigned ar_handling;
unsigned r6xx_nop_after_rel_dst;
};