diff options
author | Vincent Lejeune <[email protected]> | 2012-10-19 15:40:38 +0200 |
---|---|---|
committer | Vincent Lejeune <[email protected]> | 2012-10-24 23:37:02 +0200 |
commit | 0f35702d798ead24497928af36236aa4c7e4b87b (patch) | |
tree | 69400eae1c3c71e261f2a4abb4e8112282bb670f /src/gallium/drivers/r600/r600_asm.c | |
parent | d1eaa9ea70c7c1d77904bedf9cbac2e48bc41de9 (diff) |
r600g: force bank_swizzle if already set
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
Diffstat (limited to 'src/gallium/drivers/r600/r600_asm.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_asm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index 066fb67aba4..51a2e4ee9e5 100644 --- a/src/gallium/drivers/r600/r600_asm.c +++ b/src/gallium/drivers/r600/r600_asm.c @@ -2914,6 +2914,8 @@ void r600_bytecode_alu_read(struct r600_bytecode_alu *alu, uint32_t word0, uint3 /* WORD1 */ alu->bank_swizzle = G_SQ_ALU_WORD1_BANK_SWIZZLE(word1); + if (alu->bank_swizzle) + alu->bank_swizzle_force = alu->bank_swizzle; alu->dst.sel = G_SQ_ALU_WORD1_DST_GPR(word1); alu->dst.rel = G_SQ_ALU_WORD1_DST_REL(word1); alu->dst.chan = G_SQ_ALU_WORD1_DST_CHAN(word1); |