11 lines
123 B
WebGPU Shading Language
11 lines
123 B
WebGPU Shading Language
|
struct S {
|
||
|
a : i32;
|
||
|
b : f32;
|
||
|
};
|
||
|
|
||
|
[[stage(compute), workgroup_size(1)]]
|
||
|
fn main() {
|
||
|
var v : S;
|
||
|
ignore(v);
|
||
|
}
|