diff options
author | Martin Robinson <mrobinson@igalia.com> | 2025-04-04 13:52:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-04 11:52:58 +0000 |
commit | 49d48b897ae0c310a380a498baf8e38518172e3e (patch) | |
tree | bc1018411158f8c7e165e42551a23f17617c10ff /components/script/dom/webgpu/gpubindgroup.rs | |
parent | 1f928252e37fecc251e74bf23d7105d285b8a906 (diff) | |
download | servo-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.rs | 2 |
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; |