spirv: Skip phis in unreachable blocks in the second phi pass
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 10 Jul 2020 21:09:27 +0000 (16:09 -0500)
committerMarge Bot <eric+marge@anholt.net>
Sun, 12 Jul 2020 00:02:45 +0000 (00:02 +0000)
commit81773b4b441fbd8ec284de78e4dfdcecdca112dc
treebbada7d4522dcce6c7ee94b42bc9b3b9b528caca
parente086f64d3936f496acf41c8b2aa276f09eed6a62
spirv: Skip phis in unreachable blocks in the second phi pass

Closes: #3253
Fixes: 22fdb2f8551 "nir/spirv: Update to the latest revision"
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5855>
src/compiler/spirv/vtn_cfg.c