blob: 6f9aa1649bd148b0c3af0d5d1665b3701615f7c6 [file] [log] [blame]
struct Light {
position : vec3<f32>;
colour : vec3<f32>;
};
[[block]] struct Lights {
light : [[stride(32)]] array<Light>;
};
[[group(0), binding(1)]] var<storage, read> lights : Lights;