Skip to content

Commit

Permalink
Fix compilation with latest wgpu
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Feb 16, 2024
1 parent d89ad34 commit 96d9bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/core/src/common/gpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ pub fn setup() -> Result<Gpu, String> {
let (device, queue) = adapter
.request_device(
&wgpu::DeviceDescriptor {
features: wgpu::Features::empty(),
limits: wgpu::Limits::default(),
required_features: wgpu::Features::empty(),
required_limits: wgpu::Limits::default(),
label: None,
},
None,
Expand Down

1 comment on commit 96d9bc7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@                     Benchmark Difference                    @@
#     Name   Old (instructions)   New (instructions)   Change (%)
  2023_1_1            1,453,092            1,453,092            0
  2023_1_2            1,426,962            1,426,962            0
  2023_2_1              614,172              614,172            0
  2023_2_2              590,112              590,112            0
  2023_3_1              929,099              929,099            0
  2023_3_2              674,746              674,746            0
Benchmark Instructions (count) Instructions (%)
2023_1_1 1,453,092 25.5
2023_1_2 1,426,962 25.1
2023_3_1 929,099 16.3
2023_3_2 674,746 11.9
2023_2_1 614,172 10.8
2023_2_2 590,112 10.4

Please sign in to comment.