mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
r600g: force bank_swizzle if already set
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
This commit is contained in:
parent
d1eaa9ea70
commit
0f35702d79
2 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -92,6 +92,8 @@ void r700_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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue