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

26 lines
317 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() {
bool a = false;
int b = 0;
uint c = 0u;
float d = 0.0f;
return;
}
fragment void tint_symbol() {
main_1();
return;
}