Bump up the generator version, which is exposed in SPV test results.
This commit is contained in:
3
SPIRV/GlslangToSpv.cpp
Normal file → Executable file
3
SPIRV/GlslangToSpv.cpp
Normal file → Executable 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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user