nir/spirv/cfg: Assert that blocks only ever get added once
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 5 Jan 2016 23:56:59 +0000 (15:56 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 5 Jan 2016 23:56:59 +0000 (15:56 -0800)
commit506a467f16453fe51c65f3f14fb2a37d5ba662d2
tree8d892b5933f86ccf194f50c6820d4b8327548fa2
parent71a25a0b074ecaf4d287d1338746075170a17d4f
nir/spirv/cfg: Assert that blocks only ever get added once

This effectively prevents infinite loops in cfg_walk_blocks.
src/glsl/nir/spirv/vtn_cfg.c