16 lines
199 B
WebGPU Shading Language
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(1u, 1.5, array<u32, 2>(1u, 2u));
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
[[stage(fragment)]]
|
||
|
fn main() {
|
||
|
main_1();
|
||
|
}
|