nir/spirv: Add an actual CFG data structure
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 Dec 2015 02:19:40 +0000 (18:19 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 Dec 2015 20:50:31 +0000 (12:50 -0800)
commit303d095f58e8a4034fd828311cea518bcf23e788
tree034e2952b1dbabe0ccf97639aa1d7b40525817bb
parentbbf99511d055c84edd16904950881f6ebf668edc
nir/spirv: Add an actual CFG data structure

The current data structure doesn't handle much that we couldn't handle
before.  However, this will be absolutely crucial for doing swith
statements.  Also, this should fix structured continues.
src/glsl/Makefile.sources
src/glsl/nir/spirv/spirv_to_nir.c
src/glsl/nir/spirv/vtn_cfg.c [new file with mode: 0644]
src/glsl/nir/spirv/vtn_private.h