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

24 lines
376 B
Plaintext
Raw Normal View History

#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={1u, 2u}};
S x_200 = {.field0=1u, .field1=1.5f, .field2=tint_symbol_1};
return;
}
fragment void tint_symbol() {
main_1();
return;
}