1import super::util::make_polka_dots;3struct VertexOutput {4 @builtin(position) position: vec4<f32>,5 @location(2) uv: vec2<f32>,6}8struct CustomMaterial {9 // Needed for 16-bit alignment on WebGL210 time: vec4<f32>,11}13@group(2) @binding(0) var<uniform> material: CustomMaterial;15@fragment16fn fragment(17 mesh: VertexOutput,18) -> @location(0) vec4<f32> {19 return make_polka_dots(mesh.uv, material.time.x);20}