mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-09 20:10:06 +00:00
cd6b2382d0
Output variables in GLCompute shaders is not supported in Vulkan. Recent upgrade of spirv-tools revealed this problem.
12 lines
228 B
Plaintext
12 lines
228 B
Plaintext
|
|
void ComputeShaderFunction()
|
|
{
|
|
AllMemoryBarrier();
|
|
AllMemoryBarrierWithGroupSync();
|
|
DeviceMemoryBarrier();
|
|
DeviceMemoryBarrierWithGroupSync();
|
|
GroupMemoryBarrier();
|
|
GroupMemoryBarrierWithGroupSync();
|
|
}
|
|
|