dawn-cmake/test/expressions/zero_init/array/struct.wgsl.expected.msl

19 lines
197 B
Plaintext

#include <metal_stdlib>
using namespace metal;
struct S {
int i;
uint u;
float f;
bool b;
};
struct tint_array_wrapper {
S arr[4];
};
void f() {
tint_array_wrapper v = {.arr={}};
}