Previously if a non-void function implictly returned, a dummy variable was created as return value. Now instead it returns the result of the OpUndef instruction. This better conveys the presence of undefined behavior to SPIR-V consuming tools (and humans). It also saves one ID per occurrence...
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| CMakeLists.txt | Loading commit data... | |
| GLSL.std.450.h | Loading commit data... | |
| GLSL450Lib.h | Loading commit data... | |
| GlslangToSpv.cpp | Loading commit data... | |
| GlslangToSpv.h | Loading commit data... | |
| SPVRemapper.cpp | Loading commit data... | |
| SPVRemapper.h | Loading commit data... | |
| SpvBuilder.cpp | Loading commit data... | |
| SpvBuilder.h | Loading commit data... | |
| disassemble.cpp | Loading commit data... | |
| disassemble.h | Loading commit data... | |
| doc.cpp | Loading commit data... | |
| doc.h | Loading commit data... | |
| spirv.h | Loading commit data... | |
| spirv.hpp | Loading commit data... | |
| spvIR.h | Loading commit data... |