18 lines
191 B
WebGPU Shading Language
18 lines
191 B
WebGPU Shading Language
|
struct S {
|
||
|
field0 : u32;
|
||
|
field1 : f32;
|
||
|
field2 : array<u32, 2>;
|
||
|
};
|
||
|
|
||
|
fn main_1() {
|
||
|
var a : u32;
|
||
|
var b : u32;
|
||
|
var c : u32;
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
[[stage(fragment)]]
|
||
|
fn main() {
|
||
|
main_1();
|
||
|
}
|