Files
wgpu/tests/out/msl/globals.msl
T

18 lines
340 B
Plaintext

// language: metal1.1
#include <metal_stdlib>
#include <simd/simd.h>
constexpr constant bool Foo = true;
struct type2 {
float inner[10u];
};
kernel void main1(
threadgroup type2& wg
, threadgroup metal::atomic_uint& at
) {
wg.inner[3] = 1.0;
metal::atomic_store_explicit(&at, 2u, metal::memory_order_relaxed);
return;
}