mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 05:50:11 +01:00
r600g: cayman umad assigns dst pointlessly
There is no need to assign dst here, just use the chan from j Pointed out by glennk. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
4a128d5a16
commit
70dac5fa44
1 changed files with 1 additions and 1 deletions
|
|
@ -7095,7 +7095,7 @@ static int tgsi_umad(struct r600_shader_ctx *ctx)
|
|||
for (k = 0; k < inst->Instruction.NumSrcRegs; k++) {
|
||||
r600_bytecode_src(&alu.src[k], &ctx->src[k], i);
|
||||
}
|
||||
tgsi_dst(ctx, &inst->Dst[0], j, &alu.dst);
|
||||
alu.dst.chan = j;
|
||||
alu.dst.sel = ctx->temp_reg;
|
||||
alu.dst.write = (j == i);
|
||||
if (j == 3)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue