mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 16:30:23 +01:00
aco: don't move exec writes around exec writes
Not sure if this is possible, but we should avoid it anyway. No fossil-db changes. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22714>
This commit is contained in:
parent
65265d3e32
commit
d0caa50dcd
1 changed files with 1 additions and 1 deletions
|
|
@ -560,7 +560,7 @@ perform_hazard_query(hazard_query* query, Instruction* instr, bool upwards)
|
|||
if (!upwards && instr->opcode == aco_opcode::p_exit_early_if)
|
||||
return hazard_fail_unreorderable;
|
||||
|
||||
if (query->uses_exec) {
|
||||
if (query->uses_exec || query->writes_exec) {
|
||||
for (const Definition& def : instr->definitions) {
|
||||
if (def.isFixed() && def.physReg() == exec)
|
||||
return hazard_fail_exec;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue