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