diff --git a/wgpu/examples/mipmap/blit.wgsl b/wgpu/examples/mipmap/blit.wgsl index 80f76b1f6ed..d7a274bd945 100644 --- a/wgpu/examples/mipmap/blit.wgsl +++ b/wgpu/examples/mipmap/blit.wgsl @@ -9,8 +9,8 @@ fn vs_main(@builtin(vertex_index) vertex_index: u32) -> VertexOutput { let x = i32(vertex_index) / 2; let y = i32(vertex_index) & 1; let tc = vec2( - f32(x) * 2.0, - f32(y) * 2.0 + f32(x), + f32(y) ); out.position = vec4( tc.x * 2.0 - 1.0,