aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpudevice.rs
diff options
context:
space:
mode:
authorTaym Haddadi <haddadi.taym@gmail.com>2024-09-06 23:58:13 +0200
committerGitHub <noreply@github.com>2024-09-06 21:58:13 +0000
commit152e62022a8c69d28c217b0fce651fd2d02dc08f (patch)
tree5e83c0cd1a49cfa8b163891427b6044d083de258 /components/script/dom/gpudevice.rs
parentbc04f94a301b1575a1bca90e145778d3596e7b1b (diff)
downloadservo-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/gpudevice.rs')
-rw-r--r--components/script/dom/gpudevice.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/gpudevice.rs b/components/script/dom/gpudevice.rs
index 33daf8217b9..67b806b8550 100644
--- a/components/script/dom/gpudevice.rs
+++ b/components/script/dom/gpudevice.rs
@@ -52,7 +52,6 @@ use crate::dom::gpubindgrouplayout::GPUBindGroupLayout;
use crate::dom::gpubuffer::GPUBuffer;
use crate::dom::gpucommandencoder::GPUCommandEncoder;
use crate::dom::gpucomputepipeline::GPUComputePipeline;
-use crate::dom::gpuconvert::convert_label;
use crate::dom::gpupipelinelayout::GPUPipelineLayout;
use crate::dom::gpuqueue::GPUQueue;
use crate::dom::gpurenderbundleencoder::GPURenderBundleEncoder;
@@ -246,7 +245,7 @@ impl GPUDevice {
let (layout, implicit_ids, _) = self.get_pipeline_layout_data(&descriptor.parent.layout);
let desc = wgpu_pipe::RenderPipelineDescriptor {
- label: convert_label(&descriptor.parent.parent),
+ label: (&descriptor.parent.parent).into(),
layout,
cache: None,
vertex: wgpu_pipe::VertexState {