aco: fix s_setreg hazards
s_setreg doesn't have any definitions. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25374>
This commit is contained in:
@@ -681,7 +681,7 @@ handle_instruction_gfx6(State& state, NOP_ctx_gfx6& ctx, aco_ptr<Instruction>& i
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (instr->isSALU() && !instr->definitions.empty()) {
|
||||
} else if (instr->isSALU()) {
|
||||
if (!instr->definitions.empty()) {
|
||||
/* all other definitions should be SCC */
|
||||
Definition def = instr->definitions[0];
|
||||
|
||||
Reference in New Issue
Block a user