diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-09-12 22:27:16 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-12 12:27:16 +0000 |
commit | 9e8f84214f88ae725f9a028f615b19546b9d789f (patch) | |
tree | 5a1ef949e6fd541ecc5bcf16e3bc61fbd5b6b6e7 /ext/webgpu | |
parent | b0265eaf8f1d42ec983c2fef0d78435239442ddc (diff) |
refactor: cleanup unstable checks for WebGPU, FFI and FS APIs (#25586)
Continuation of work in #25488.
---------
Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
Diffstat (limited to 'ext/webgpu')
-rw-r--r-- | ext/webgpu/lib.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/webgpu/lib.rs b/ext/webgpu/lib.rs index df01c5ff9..df2ab323a 100644 --- a/ext/webgpu/lib.rs +++ b/ext/webgpu/lib.rs @@ -403,13 +403,6 @@ pub fn op_webgpu_request_adapter( ) -> Result<GpuAdapterResOrErr, AnyError> { let mut state = state.borrow_mut(); - // TODO(bartlomieju): replace with `state.feature_checker.check_or_exit` - // once we phase out `check_or_exit_with_legacy_fallback` - state.feature_checker.check_or_exit_with_legacy_fallback( - UNSTABLE_FEATURE_NAME, - "navigator.gpu.requestAdapter", - ); - let backends = std::env::var("DENO_WEBGPU_BACKEND").map_or_else( |_| wgpu_types::Backends::all(), |s| wgpu_core::instance::parse_backends_from_comma_list(&s), |