File tree 3 files changed +7
-5
lines changed
3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ edition = "2018"
16
16
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
17
17
18
18
[dependencies ]
19
- wgpu = " 0.18 .0"
19
+ wgpu = " 0.20 .0"
20
20
euclid = " 0.22.7"
21
- fontdue = " 0.8 .0"
21
+ fontdue = " 0.9 .0"
22
22
rect_packer = " 0.2.1"
23
23
24
24
[dev-dependencies ]
25
25
png = " 0.17.6"
26
26
futures = " 0.3"
27
27
futures-intrusive = " 0.5"
28
- svg = " 0.14 .0"
28
+ svg = " 0.17 .0"
29
29
rand = " 0.8.5"
Original file line number Diff line number Diff line change @@ -228,11 +228,13 @@ impl Vger {
228
228
vertex : wgpu:: VertexState {
229
229
module : & shader,
230
230
entry_point : "vs_main" ,
231
+ compilation_options : wgpu:: PipelineCompilationOptions :: default ( ) ,
231
232
buffers : & [ ] ,
232
233
} ,
233
234
fragment : Some ( wgpu:: FragmentState {
234
235
module : & shader,
235
236
entry_point : "fs_main" ,
237
+ compilation_options : wgpu:: PipelineCompilationOptions :: default ( ) ,
236
238
targets : & [ Some ( wgpu:: ColorTargetState {
237
239
format : texture_format,
238
240
blend : Some ( wgpu:: BlendState {
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ pub async fn setup() -> (wgpu::Device, wgpu::Queue) {
19
19
. request_device (
20
20
& wgpu:: DeviceDescriptor {
21
21
label : None ,
22
- features : wgpu:: Features :: default ( ) ,
23
- limits : wgpu:: Limits :: default ( ) ,
22
+ required_features : wgpu:: Features :: default ( ) ,
23
+ required_limits : wgpu:: Limits :: default ( ) ,
24
24
} ,
25
25
trace_dir. ok ( ) . as_ref ( ) . map ( std:: path:: Path :: new) ,
26
26
)
You can’t perform that action at this time.
0 commit comments