Skip to content

nir: Avoid visiting instructions multiple times in nir_instr_free_and_dce.

Bas Nieuwenhuizen requested to merge bnieuwenhuizen/mesa:splitgate-fix into main

Sadly need to poke a bit in the src internals to avoid using yet another heap allocated datastructure.

Fixes: 52515485 ("nir: Add a nir_instr_remove that recursively removes dead code.") Closes: #5323 (closed)

Merge request reports