Skip to content

Commit

Permalink
build(deps): update wgpu requirement from 0.16.0 to 0.17.1
Browse files Browse the repository at this point in the history
Updates the requirements on [wgpu](https://github.com/gfx-rs/wgpu) to permit the latest version.
- [Release notes](https://github.com/gfx-rs/wgpu/releases)
- [Changelog](https://github.com/gfx-rs/wgpu/blob/trunk/CHANGELOG.md)
- [Commits](gfx-rs/wgpu@v0.16.0...v0.16.3)

---
updated-dependencies:
- dependency-name: wgpu
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and M-Adoo committed Oct 18, 2023
1 parent 3555443 commit 1dc7a54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ unicode-script = "0.5.4"
unicode-segmentation = "1.9.0"
usvg = { version= "0.36.0", default-features = false }
webbrowser = "0.8.8"
wgpu = {version = "0.16.0"}
wgpu = {version = "0.17.1"}
winit = {version = "0.28.5", default-features = false, features = ["x11", "wayland", "wayland-dlopen"]}
zerocopy = "0.7.3"
quick-xml = "0.30.0"
Expand Down
4 changes: 2 additions & 2 deletions gpu/src/wgpu_impl/shaders/tex_2_tex.wgsl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ struct VertexOutput {
}

@vertex
fn vs_main(@location(0) pos: vec2<f32>, @location(1) tex: vec2<f32>) -> VertexOutput {
fn vs_main(@location(0) input_pos: vec2<f32>, @location(1) tex: vec2<f32>) -> VertexOutput {
var output: VertexOutput;
let pos = pos * vec2(2., -2.) + vec2(-1., 1.);
let pos = input_pos * vec2(2., -2.) + vec2(-1., 1.);
output.pos = vec4<f32>(pos, 0.0, 1.0);
output.tex_pos = tex;
return output;
Expand Down

0 comments on commit 1dc7a54

Please sign in to comment.