From ffdf87fbe2cf132b63d0a5af46c8ec1aead9af12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Sat, 6 Feb 2021 15:37:05 +0100 Subject: [PATCH] Use lowercase in `wgpu` labels for consistency --- wgpu/src/image.rs | 2 +- wgpu/src/triangle.rs | 2 +- wgpu/src/triangle/msaa.rs | 2 +- wgpu/src/window/compositor.rs | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wgpu/src/image.rs b/wgpu/src/image.rs index 32843828..e34cbb0a 100644 --- a/wgpu/src/image.rs +++ b/wgpu/src/image.rs @@ -422,7 +422,7 @@ impl Pipeline { let mut render_pass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { - label: Some("iced_wgpu::image Render Pass"), + label: Some("iced_wgpu::image render pass"), color_attachments: &[ wgpu::RenderPassColorAttachmentDescriptor { attachment: target, diff --git a/wgpu/src/triangle.rs b/wgpu/src/triangle.rs index d23ce29e..2f255940 100644 --- a/wgpu/src/triangle.rs +++ b/wgpu/src/triangle.rs @@ -362,7 +362,7 @@ impl Pipeline { let mut render_pass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { - label: Some("iced_wgpu::triangle Render Pass"), + label: Some("iced_wgpu::triangle render pass"), color_attachments: &[ wgpu::RenderPassColorAttachmentDescriptor { attachment, diff --git a/wgpu/src/triangle/msaa.rs b/wgpu/src/triangle/msaa.rs index 0a5a703e..4c8fe20c 100644 --- a/wgpu/src/triangle/msaa.rs +++ b/wgpu/src/triangle/msaa.rs @@ -177,7 +177,7 @@ impl Blit { ) { let mut render_pass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { - label: Some("iced_wgpu::triangle::msaa Render Pass"), + label: Some("iced_wgpu::triangle::msaa render pass"), color_attachments: &[ wgpu::RenderPassColorAttachmentDescriptor { attachment: target, diff --git a/wgpu/src/window/compositor.rs b/wgpu/src/window/compositor.rs index 361b9ecf..36d6ab1a 100644 --- a/wgpu/src/window/compositor.rs +++ b/wgpu/src/window/compositor.rs @@ -39,7 +39,7 @@ impl Compositor { .request_device( &wgpu::DeviceDescriptor { label: Some( - "iced_wgpu::window::Compositor Device Descriptor", + "iced_wgpu::window::compositor device descriptor", ), features: wgpu::Features::empty(), limits: wgpu::Limits { @@ -132,7 +132,7 @@ impl iced_graphics::window::Compositor for Compositor { ); let _ = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { - label: Some("iced_wgpu::window::Compositor Render Pass"), + label: Some("iced_wgpu::window::Compositor render pass"), color_attachments: &[wgpu::RenderPassColorAttachmentDescriptor { attachment: &frame.output.view, resolve_target: None,