2018-03-24 03:16:18 +00:00
|
|
|
static const uint3 gl_WorkGroupSize = uint3(4u, 1u, 1u);
|
|
|
|
|
2018-01-09 11:26:46 +00:00
|
|
|
void comp_main()
|
|
|
|
{
|
2018-01-09 11:41:13 +00:00
|
|
|
GroupMemoryBarrier();
|
|
|
|
AllMemoryBarrier();
|
2018-01-09 11:26:46 +00:00
|
|
|
DeviceMemoryBarrier();
|
|
|
|
DeviceMemoryBarrier();
|
2018-01-09 11:41:13 +00:00
|
|
|
AllMemoryBarrier();
|
|
|
|
GroupMemoryBarrierWithGroupSync();
|
|
|
|
AllMemoryBarrier();
|
|
|
|
GroupMemoryBarrierWithGroupSync();
|
2018-01-09 11:26:46 +00:00
|
|
|
DeviceMemoryBarrier();
|
2018-01-09 11:41:13 +00:00
|
|
|
GroupMemoryBarrierWithGroupSync();
|
2018-01-09 11:26:46 +00:00
|
|
|
DeviceMemoryBarrier();
|
2018-01-09 11:41:13 +00:00
|
|
|
GroupMemoryBarrierWithGroupSync();
|
|
|
|
AllMemoryBarrier();
|
|
|
|
GroupMemoryBarrierWithGroupSync();
|
|
|
|
GroupMemoryBarrierWithGroupSync();
|
2018-01-09 11:26:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
[numthreads(4, 1, 1)]
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
comp_main();
|
|
|
|
}
|