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

33 lines
379 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 x_500(int x_501) {
return;
}
void main_1() {
int x_200 = 0;
if (true) {
x_200 = 1;
} else {
return;
}
x_500(x_200);
return;
}
fragment void tint_symbol() {
main_1();
return;
}