18 lines
196 B
Plaintext
18 lines
196 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={}};
|
||
|
}
|
||
|
|