Skip to content

Commit b1ef658

Browse files
committed
update wgpu to 0.12
1 parent 7706426 commit b1ef658

File tree

3 files changed

+43
-32
lines changed

3 files changed

+43
-32
lines changed

Cargo.lock

Lines changed: 37 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ crate-type = ["cdylib"]
1515

1616
[dependencies]
1717
vst = "^ 0.2"
18-
vst_window = "^ 0.2.0"
18+
vst_window = "^ 0.3"
1919
once_cell = "^ 1.4"
20-
wgpu = { version = "^ 0.11", features = ["spirv"] }
21-
wgpu_glyph = "^ 0.15"
22-
raw-window-handle = "^ 0.3"
20+
wgpu = { version = "^ 0.12", features = ["spirv"] }
21+
wgpu_glyph = "^ 0.16"
22+
raw-window-handle = "^ 0.4"
2323
zerocopy = "^ 0.3"
2424
cgmath = "^ 0.17"
2525
futures = "^ 0.3"

src/editor/interface/graphics.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,7 @@ impl Renderer {
167167
wgpu::BindGroupLayoutEntry {
168168
binding: 2,
169169
visibility: wgpu::ShaderStages::FRAGMENT,
170-
ty: wgpu::BindingType::Sampler {
171-
comparison: false,
172-
filtering: true,
173-
},
170+
ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Filtering),
174171
count: None,
175172
},
176173
],
@@ -240,6 +237,7 @@ impl Renderer {
240237
mask: !0,
241238
alpha_to_coverage_enabled: false,
242239
},
240+
multiview: None,
243241
});
244242

245243
let sampler = device.create_sampler(&wgpu::SamplerDescriptor {

0 commit comments

Comments
 (0)