mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 05:38:16 +02:00
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:
parent
ce27875f09
commit
ed3ca5b781
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue