mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 22:11:01 +01:00
14 lines
291 B
Plaintext
14 lines
291 B
Plaintext
#include <metal_stdlib>
|
|
#include <simd/simd.h>
|
|
|
|
|
|
struct main1Input {
|
|
};
|
|
kernel void main1(
|
|
metal::uint3 global_id [[thread_position_in_grid]]
|
|
) {
|
|
metal::threadgroup_barrier(metal::mem_flags::mem_device);
|
|
metal::threadgroup_barrier(metal::mem_flags::mem_threadgroup);
|
|
return;
|
|
}
|