1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
This commit is contained in:
Kenta Moriuchi 2024-11-13 18:36:05 +09:00
parent 0176c91657
commit 9ece548e32
No known key found for this signature in database
GPG key ID: AC843C584A91BE0C
2 changed files with 3 additions and 3 deletions

View file

@ -460,7 +460,7 @@ class GPUAdapter {
/** @returns {boolean} */
get isFallbackAdapter() {
webidl.assertBranded(this, GPUAdapterPrototype);
return this[_adapter].isFallback;
return this[_adapter].isFallbackAdapter;
}
/** @returns {GPUAdapterInfo} */

View file

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