mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 10:18:05 +02:00
r600/cayman: looks like cmpxchg moved to Z
On cayman it appears the cmp component is now in Z. Fixes: arb_shader_image_load_store-dead-fragments on cayman. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
4f3e73516c
commit
c758fd05d8
1 changed files with 5 additions and 2 deletions
|
|
@ -8083,9 +8083,12 @@ static int tgsi_atomic_op_rat(struct r600_shader_ctx *ctx)
|
|||
return r;
|
||||
|
||||
memset(&alu, 0, sizeof(struct r600_bytecode_alu));
|
||||
alu.op = ALU_OP1_MOV;
|
||||
alu.op = ALU_OP1_MOV;
|
||||
alu.dst.sel = ctx->thread_id_gpr;
|
||||
alu.dst.chan = 3;
|
||||
if (ctx->bc->chip_class == CAYMAN)
|
||||
alu.dst.chan = 2;
|
||||
else
|
||||
alu.dst.chan = 3;
|
||||
alu.dst.write = 1;
|
||||
r600_bytecode_src(&alu.src[0], &ctx->src[2], 0);
|
||||
alu.last = 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue