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

19 lines
197 B
Plaintext
Raw Normal View History

#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={}};
}