SPV: Document history of the generator version number.
This commit is contained in:
parent
e1ff231235
commit
3f0d4bcd6a
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue