Skip to content

Commit

Permalink
Update wgpu-core and wgpu-types
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalmohan committed Jul 4, 2020
1 parent 7fafd91 commit 8ef7f24
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/script/dom/gpuadapter.rs
Expand Up @@ -81,7 +81,7 @@ impl GPUAdapterMethods for GPUAdapter {
let promise = Promise::new_in_current_realm(&self.global(), comp);
let sender = response_async(&promise, self);
let desc = wgt::DeviceDescriptor {
extensions: wgt::Extensions::empty(),
features: wgt::Features::empty(),
limits: wgt::Limits {
max_bind_groups: descriptor.limits.maxBindGroups,
..Default::default()
Expand Down
2 changes: 1 addition & 1 deletion components/webgpu/lib.rs
Expand Up @@ -745,7 +745,7 @@ impl<'a> WGPU<'a> {
} => {
let adapter_id = match self.global.pick_adapter(
&options,
wgt::UnsafeExtensions::disallow(),
wgt::UnsafeFeatures::disallow(),
wgpu::instance::AdapterInputs::IdSet(&ids, |id| id.backend()),
) {
Some(id) => id,
Expand Down

0 comments on commit 8ef7f24

Please sign in to comment.