Use lowercase in `wgpu` labels for consistency

This commit is contained in:
Héctor Ramón Jiménez 2021-02-06 15:37:05 +01:00
parent 5fc4210270
commit ffdf87fbe2
4 changed files with 5 additions and 5 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,