mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update wgpu-core and wgpu-types
This commit is contained in:
parent
7fafd91593
commit
8ef7f24541
3 changed files with 15 additions and 15 deletions
|
@ -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()
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue