Hello, I'm trying to use a DynamicStorageBuffer with a compute shader. However, naga is giving me this not-so-helpful error: Loading of [1] can't be done
Relevant part of the shader:
struct Droplet {
pos: vec2<f32>,
dir: vec2<f32>,
vel: f32,
water: f32,
sediment: f32,
}
@group(0) @binding(4)
var<storage, read_write> droplets: array<Droplet>;