[Mesa-dev] [PATCH 2/3] r600g: force bank_swizzle if already set
Tom Stellard
tom at stellard.net
Mon Oct 22 06:23:47 PDT 2012
On Fri, Oct 19, 2012 at 11:19:33PM +0200, Vincent Lejeune wrote:
> ---
> src/gallium/drivers/r600/r700_asm.c | 2 ++
> 1 file changed, 2 insertions(+)
>
We should also make this change to r600_bytecode_alu_read() in r600_asm.c
With that fix:
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
> diff --git a/src/gallium/drivers/r600/r700_asm.c b/src/gallium/drivers/r600/r700_asm.c
> index 818933a..47b4f91 100644
> --- a/src/gallium/drivers/r600/r700_asm.c
> +++ b/src/gallium/drivers/r600/r700_asm.c
> @@ -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);
> --
> 1.7.11.7
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list