blob: ea5db21c267172e15a7608a49fdbf1a1a3676db3 [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;