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

24 lines
376 B
Plaintext

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