Commit 3f0d4bcd by John Kessenich

SPV: Document history of the generator version number.

parent e1ff2312
...@@ -5985,7 +5985,9 @@ void GetSpirvVersion(std::string& version) ...@@ -5985,7 +5985,9 @@ void GetSpirvVersion(std::string& version)
// or a different instruction sequence to do something gets used). // or a different instruction sequence to do something gets used).
int GetSpirvGeneratorVersion() int GetSpirvGeneratorVersion()
{ {
return 3; // return 1; // start
// 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
} }
// Write SPIR-V out to a binary file // Write SPIR-V out to a binary file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment