SPV: Turn on atomic-storage functionality for SPIR-V.

This is used by OpenGL, but not Vulkan.
Includes:
 - atomicCounter, atomicIncrement, atomicCounterDecrement
 - atomic_uint layout-offset checking
 - AtomicStorage capability
This commit is contained in:
John Kessenich 2016-07-07 13:20:00 -06:00
parent 5e69ec683d
commit 2d0cc786f3
6 changed files with 152 additions and 203 deletions

View file

@ -1259,7 +1259,6 @@ void TBuiltIns::initialize(int version, EProfile profile, const SpvVersion& spvV
}
if (spvVersion.vulkan == 0) {
// gl_spirv TODO
//
// Atomic counter functions.
//