Bump up the generator version, which is exposed in SPV test results.

This commit is contained in:
John Kessenich
2019-11-02 21:26:40 -06:00
parent 31ab84a51b
commit 31c3370d83
635 changed files with 636 additions and 635 deletions

3
SPIRV/GlslangToSpv.cpp Normal file → Executable file
View File

@@ -8197,7 +8197,8 @@ int GetSpirvGeneratorVersion()
// return 5; // make OpArrayLength result type be an int with signedness of 0
// return 6; // revert version 5 change, which makes a different (new) kind of incorrect code,
// versions 4 and 6 each generate OpArrayLength as it has long been done
return 7; // GLSL volatile keyword maps to both SPIR-V decorations Volatile and Coherent
// return 7; // GLSL volatile keyword maps to both SPIR-V decorations Volatile and Coherent
return 8; // switch to new dead block eliminator; use OpUnreachable
}
// Write SPIR-V out to a binary file

View File

@@ -300,7 +300,7 @@ protected:
};
// The different reasons for reaching a block in the inReadableOrder traversal.
typedef enum ReachReason {
enum ReachReason {
// Reachable from the entry block via transfers of control, i.e. branches.
ReachViaControlFlow = 0,
// A continue target that is not reachable via control flow.