mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 15:00:57 +01:00
15 lines
209 B
Plaintext
15 lines
209 B
Plaintext
#include <metal_stdlib>
|
|
#include <simd/simd.h>
|
|
|
|
constexpr constant bool Foo = true;
|
|
struct type2 {
|
|
float inner[10u];
|
|
};
|
|
|
|
kernel void main1(
|
|
threadgroup type2& wg
|
|
) {
|
|
wg.inner[3] = 1.0;
|
|
return;
|
|
}
|