glslang-zig/SPIRV
Dejan Mircevski 832c65c33b Fix back-branch target for do-while loops.
To ensure back branches always go to a header block, create a header
block even for !testFirst loops.  Then unify common code between the
testFirst/!testFirst cases.

Generate the header-block code first, so update golden files.

Realize that certain infinite loops generate invalid SPIR-V, so put a
TODO to instead abort code generation in such cases.

Change-Id: I1e173c8f73daad186cfc666b7d72bd563ed7665d
2016-01-11 15:57:11 -05:00
..
CMakeLists.txt Remove include_directories from CMakeLists, to enforce relative includes 2015-11-16 18:05:18 +01:00
disassemble.cpp Remove unnecessary include path relative to root 2015-11-16 18:05:18 +01:00
disassemble.h Move to revision 31 of SPIR-V. 2015-08-06 22:55:01 -06:00
doc.cpp SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2. 2015-11-15 22:31:41 -07:00
doc.h SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2. 2015-11-15 22:31:41 -07:00
GLSL.std.450.h SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2. 2015-11-15 22:31:41 -07:00
GlslangToSpv.cpp Fix back-branch target for do-while loops. 2016-01-11 15:57:11 -05:00
GlslangToSpv.h Updated command-line options, adding -o for saving binaries, -G for OpenGL SPIR-V validation, -v etc. 2015-07-12 19:28:10 -06:00
spirv.hpp SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2. 2015-11-15 22:31:41 -07:00
SpvBuilder.cpp Fix back-branch target for do-while loops. 2016-01-11 15:57:11 -05:00
SpvBuilder.h Fix back-branch target for do-while loops. 2016-01-11 15:57:11 -05:00
spvIR.h Fix unreachable-block removal. 2016-01-10 19:37:00 -05:00
SPVRemapper.cpp SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2. 2015-11-15 22:31:41 -07:00
SPVRemapper.h Move to revision 31 of SPIR-V. 2015-08-06 22:55:01 -06:00