Revert the commits that change OpArrayLength type and bumped the version number.

Now, version 5.* is all connected to making the uint type, which doesn't quite work.
Generator versions 4 and 6 do not do this.
This commit is contained in:
John Kessenich
2018-03-07 11:24:50 -07:00
parent 097047a919
commit ac3707921e
525 changed files with 646 additions and 644 deletions

View File

@@ -6623,7 +6623,9 @@ int GetSpirvGeneratorVersion()
// return 2; // EOpAtomicCounterDecrement gets a post decrement, to map between GLSL -> SPIR-V
// return 3; // change/correct barrier-instruction operands, to match memory model group decisions
// return 4; // some deeper access chains: for dynamic vector component, and local Boolean component
return 5; // make OpArrayLength result type be an int with signedness of 0
// 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
}
// Write SPIR-V out to a binary file