mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
23 lines
486 B
HLSL
23 lines
486 B
HLSL
void function()
|
|
{
|
|
GroupMemoryBarrier();
|
|
GroupMemoryBarrierWithGroupSync();
|
|
DeviceMemoryBarrier();
|
|
DeviceMemoryBarrier();
|
|
DeviceMemoryBarrierWithGroupSync();
|
|
DeviceMemoryBarrierWithGroupSync();
|
|
DeviceMemoryBarrier();
|
|
GroupMemoryBarrier();
|
|
DeviceMemoryBarrier();
|
|
DeviceMemoryBarrierWithGroupSync();
|
|
GroupMemoryBarrierWithGroupSync();
|
|
DeviceMemoryBarrierWithGroupSync();
|
|
return;
|
|
}
|
|
|
|
[numthreads(64, 1, 1)]
|
|
void main()
|
|
{
|
|
function();
|
|
}
|