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

27 lines
335 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 = true;
bool b = false;
int c = -1;
uint d = 1u;
float e = 1.5f;
return;
}
fragment void tint_symbol() {
main_1();
return;
}