Update wgpu-core and wgpu-types

This commit is contained in:
Kunal Mohan 2020-07-04 01:46:10 +05:30
parent 7fafd91593
commit 8ef7f24541
3 changed files with 15 additions and 15 deletions

View file

@ -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()

View file

@ -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,