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

16 lines
199 B
WebGPU Shading Language

struct S {
field0 : u32;
field1 : f32;
field2 : array<u32, 2>;
};
fn main_1() {
var x_200 : S = S(0u, 0.0, array<u32, 2>(0u, 0u));
return;
}
[[stage(fragment)]]
fn main() {
main_1();
}