diff --git a/src/amd/compiler/aco_insert_exec_mask.cpp b/src/amd/compiler/aco_insert_exec_mask.cpp index 555d6e88bb5..4a2798b5a24 100644 --- a/src/amd/compiler/aco_insert_exec_mask.cpp +++ b/src/amd/compiler/aco_insert_exec_mask.cpp @@ -147,8 +147,7 @@ get_block_needs(wqm_ctx& ctx, exec_ctx& exec_ctx, Block* block) aco_ptr& instr = block->instructions[i]; WQMState needs = needs_exact(instr) ? Exact : Unspecified; - bool propagate_wqm = - instr->opcode == aco_opcode::p_wqm || instr->opcode == aco_opcode::p_as_uniform; + bool propagate_wqm = instr->opcode == aco_opcode::p_wqm; bool preserve_wqm = instr->opcode == aco_opcode::p_discard_if; bool pred_by_exec = needs_exec_mask(instr.get()); for (const Definition& definition : instr->definitions) {