mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 18:20:10 +01:00
vc4: Make qir_for_each_inst_inorder() safe against removal.
The dead code elimination wants it to be safe, and I actually got segfaults due to it being unsafe with the new coalescing pass.
This commit is contained in:
parent
27544ea8d3
commit
a025983dd9
1 changed files with 1 additions and 1 deletions
|
|
@ -887,6 +887,6 @@ qir_BRANCH(struct vc4_compile *c, uint8_t cond)
|
|||
|
||||
#define qir_for_each_inst_inorder(inst, c) \
|
||||
qir_for_each_block(_block, c) \
|
||||
qir_for_each_inst(inst, _block)
|
||||
qir_for_each_inst_safe(inst, _block)
|
||||
|
||||
#endif /* VC4_QIR_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue