mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
fix
This commit is contained in:
parent
0176c91657
commit
9ece548e32
2 changed files with 3 additions and 3 deletions
|
@ -460,7 +460,7 @@ class GPUAdapter {
|
|||
/** @returns {boolean} */
|
||||
get isFallbackAdapter() {
|
||||
webidl.assertBranded(this, GPUAdapterPrototype);
|
||||
return this[_adapter].isFallback;
|
||||
return this[_adapter].isFallbackAdapter;
|
||||
}
|
||||
|
||||
/** @returns {GPUAdapterInfo} */
|
||||
|
|
|
@ -392,7 +392,7 @@ pub struct GpuAdapterRes {
|
|||
rid: ResourceId,
|
||||
limits: wgpu_types::Limits,
|
||||
features: Vec<&'static str>,
|
||||
is_fallback: bool,
|
||||
is_fallback_adapter: bool,
|
||||
}
|
||||
|
||||
#[derive(Serialize)]
|
||||
|
@ -466,7 +466,7 @@ pub fn op_webgpu_request_adapter(
|
|||
features,
|
||||
limits: adapter_limits,
|
||||
// TODO(lucacasonato): report correctly from wgpu
|
||||
is_fallback: false,
|
||||
is_fallback_adapter: false,
|
||||
}))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue