dawn-cmake/test/var/initialization/function/struct.wgsl.expected.msl

15 lines
148 B
Plaintext

#include <metal_stdlib>
using namespace metal;
struct S {
int a;
float b;
};
kernel void tint_symbol() {
S v = {};
(void) v;
return;
}