r600/sb: lds ops have no dst register.

Although these are op3s they don't have a dst reg.

Acked-By: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie 2018-01-10 03:56:37 +00:00
parent 09c1c13c44
commit 1ca2eb3bf3

View file

@ -232,7 +232,7 @@ static void print_dst(sb_ostream &s, bc_alu &alu)
reg_char = 'T';
}
if (alu.write_mask || alu.op_ptr->src_count == 3) {
if (alu.write_mask || (alu.op_ptr->src_count == 3 && alu.op < LDS_OP2_LDS_ADD)) {
s << reg_char;
print_sel(s, sel, alu.dst_rel, alu.index_mode, 0);
} else {