1
2float ComputeShaderFunction()
3{
4    AllMemoryBarrier();
5    AllMemoryBarrierWithGroupSync();
6    DeviceMemoryBarrier();
7    DeviceMemoryBarrierWithGroupSync();
8    GroupMemoryBarrier();
9    GroupMemoryBarrierWithGroupSync();
10
11    return 0.0;
12}
13
14