glslang/Test/hlsl.intrinsics.barriers.comp

12 lines
228 B
Plaintext
Raw Normal View History

void ComputeShaderFunction()
{
AllMemoryBarrier();
AllMemoryBarrierWithGroupSync();
DeviceMemoryBarrier();
DeviceMemoryBarrierWithGroupSync();
GroupMemoryBarrier();
GroupMemoryBarrierWithGroupSync();
}