aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgpu/gpubindgroup.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2025-04-04 13:52:58 +0200
committerGitHub <noreply@github.com>2025-04-04 11:52:58 +0000
commit49d48b897ae0c310a380a498baf8e38518172e3e (patch)
treebc1018411158f8c7e165e42551a23f17617c10ff /components/script/dom/webgpu/gpubindgroup.rs
parent1f928252e37fecc251e74bf23d7105d285b8a906 (diff)
downloadservo-49d48b897ae0c310a380a498baf8e38518172e3e.tar.gz
servo-49d48b897ae0c310a380a498baf8e38518172e3e.zip
script: Remove dependency on `webgpu` (#36332)
After #36320, `script` only depends on `webgpu` for its type aliases to `wgpu_core` and `wgpu_types`. This change removes the dependency on `webgpu` in favor of depending directly on the upstream crates. This makes it so that you can change `webgpu` without recompiling `script`. Testing: This change is covered by existing WebGPU tests and is mainly just changing the way dependencies are accessed. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/script/dom/webgpu/gpubindgroup.rs')
-rw-r--r--components/script/dom/webgpu/gpubindgroup.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webgpu/gpubindgroup.rs b/components/script/dom/webgpu/gpubindgroup.rs
index 98d7f3eca91..a70030782c3 100644
--- a/components/script/dom/webgpu/gpubindgroup.rs
+++ b/components/script/dom/webgpu/gpubindgroup.rs
@@ -5,8 +5,8 @@
use std::borrow::Cow;
use dom_struct::dom_struct;
-use webgpu::wgc::binding_model::BindGroupDescriptor;
use webgpu_traits::{WebGPU, WebGPUBindGroup, WebGPUDevice, WebGPURequest};
+use wgpu_core::binding_model::BindGroupDescriptor;
use crate::conversions::Convert;
use crate::dom::bindings::cell::DomRefCell;