diff --git a/src/amd/compiler/aco_optimizer.cpp b/src/amd/compiler/aco_optimizer.cpp index faa82fdf9e9..1e314ed9550 100644 --- a/src/amd/compiler/aco_optimizer.cpp +++ b/src/amd/compiler/aco_optimizer.cpp @@ -1030,9 +1030,9 @@ apply_extract(opt_ctx& ctx, aco_ptr& instr, unsigned idx, ssa_info& instr->vop3().opsel |= 1 << idx; } - /* label_vopc seems to be the only one worth keeping at the moment */ + /* output modifier and label_vopc seem to be the only one worth keeping at the moment */ for (Definition& def : instr->definitions) - ctx.info[def.tempId()].label &= label_vopc; + ctx.info[def.tempId()].label &= (label_vopc | instr_mod_labels); } void