16 lines
286 B
WebGPU Shading Language
16 lines
286 B
WebGPU Shading Language
struct S {
|
|
field0 : vec2<f32>;
|
|
field1 : u32;
|
|
field2 : i32;
|
|
};
|
|
|
|
fn main_1() {
|
|
let x_10 : vec4<u32> = vec4<u32>(vec2<u32>(4u, 3u).y, vec2<u32>(4u, 3u).x, vec2<u32>(3u, 4u).y, vec2<u32>(3u, 4u).x);
|
|
return;
|
|
}
|
|
|
|
[[stage(compute), workgroup_size(1, 1, 1)]]
|
|
fn main() {
|
|
main_1();
|
|
}
|