diff options
author | Taym Haddadi <haddadi.taym@gmail.com> | 2024-09-06 23:58:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-06 21:58:13 +0000 |
commit | 152e62022a8c69d28c217b0fce651fd2d02dc08f (patch) | |
tree | 5e83c0cd1a49cfa8b163891427b6044d083de258 /components/script/dom/gpucomputepipeline.rs | |
parent | bc04f94a301b1575a1bca90e145778d3596e7b1b (diff) | |
download | servo-152e62022a8c69d28c217b0fce651fd2d02dc08f.tar.gz servo-152e62022a8c69d28c217b0fce651fd2d02dc08f.zip |
Move convert_label to Into implementation (#33348)
Signed-off-by: Taym <haddadi.taym@gmail.com>
Diffstat (limited to 'components/script/dom/gpucomputepipeline.rs')
-rw-r--r-- | components/script/dom/gpucomputepipeline.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/gpucomputepipeline.rs b/components/script/dom/gpucomputepipeline.rs index bf58302da52..6c69c07900a 100644 --- a/components/script/dom/gpucomputepipeline.rs +++ b/components/script/dom/gpucomputepipeline.rs @@ -17,7 +17,6 @@ use crate::dom::bindings::root::{Dom, DomRoot}; use crate::dom::bindings::str::USVString; use crate::dom::globalscope::GlobalScope; use crate::dom::gpubindgrouplayout::GPUBindGroupLayout; -use crate::dom::gpuconvert::convert_label; use crate::dom::gpudevice::GPUDevice; #[dom_struct] @@ -83,7 +82,7 @@ impl GPUComputePipeline { let (layout, implicit_ids, _) = device.get_pipeline_layout_data(&descriptor.parent.layout); let desc = ComputePipelineDescriptor { - label: convert_label(&descriptor.parent.parent), + label: (&descriptor.parent.parent).into(), layout, stage: (&descriptor.compute).into(), cache: None, |