dawn-cmake/test/unittest/reader/spirv/SpvParserFunctionVarTest_Em...

26 lines
381 B
Plaintext

#include <metal_stdlib>
using namespace metal;
struct tint_padded_array_element {
uint el;
};
struct tint_array_wrapper {
tint_padded_array_element arr[2];
};
struct S {
uint field0;
float field1;
tint_array_wrapper field2;
};
void main_1() {
tint_array_wrapper x_200 = {.arr={{.el=1u}, {.el=2u}}};
return;
}
fragment void tint_symbol() {
main_1();
return;
}