From 44118263b5de7bc32f6280ee3d1dc170a9b034d3 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Mon, 31 Aug 2020 14:41:41 +0200 Subject: Add labels to `iced_wgpu` internals --- wgpu/src/image/atlas.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wgpu/src/image/atlas.rs') diff --git a/wgpu/src/image/atlas.rs b/wgpu/src/image/atlas.rs index 69f872e8..660ebe44 100644 --- a/wgpu/src/image/atlas.rs +++ b/wgpu/src/image/atlas.rs @@ -28,7 +28,7 @@ impl Atlas { }; let texture = device.create_texture(&wgpu::TextureDescriptor { - label: None, + label: Some("iced_wgpu::image texture atlas"), size: extent, mip_level_count: 1, sample_count: 1, @@ -103,7 +103,7 @@ impl Atlas { let buffer = device.create_buffer_init(&wgpu::util::BufferInitDescriptor { - label: None, + label: Some("iced_wgpu::image staging buffer"), contents: &padded_data, usage: wgpu::BufferUsage::COPY_SRC, }); @@ -330,7 +330,7 @@ impl Atlas { } let new_texture = device.create_texture(&wgpu::TextureDescriptor { - label: None, + label: Some("iced_wgpu::image texture atlas"), size: wgpu::Extent3d { width: SIZE, height: SIZE, -- cgit