wgsl_to_wgpu 0.19.0

Generate typesafe Rust bindings from WGSL shaders to wgpu
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
struct Input0 {
    a: u32,
    b: i32,
    c: f32,
};

struct Nested {
    a: Input0,
    b: f32
}

var<workgroup> a: Input0;
var<uniform> b: Nested;

@compute
@workgroup_size(64)
fn main() {}