Skip to content

nir: Fix breaking in nir_foreach_phi(_safe)

Alyssa Rosenzweig requested to merge alyssa/mesa:nir/foreach-phi into main

When I reading through some of my older commits I noticed that break in nir_foreach_phi is broken because I used the two-loop trick wrong. Rewrite the macros to fix this, and also to generally be a lot cleaner.

Fixes: 7dc297cc ("nir: Add nir_foreach_phi(_safe) macro") Signed-off-by: Alyssa Rosenzweig alyssa@rosenzweig.io

Merge request reports