Labels
parent
2e57840b7a
commit
5a276459e9
|
@ -45,7 +45,7 @@ impl TextureArray {
|
|||
});
|
||||
|
||||
let bind_group_layout = device.create_bind_group_layout(&wgpu::BindGroupLayoutDescriptor {
|
||||
label: Some("texture_bind_group_layout"),
|
||||
label: Some("TextureArray bind group layout"),
|
||||
entries: &[
|
||||
// Texture data
|
||||
wgpu::BindGroupLayoutEntry {
|
||||
|
@ -70,7 +70,7 @@ impl TextureArray {
|
|||
|
||||
let views: Vec<&wgpu::TextureView> = loader.texture_data.iter().map(|x| &x.view).collect();
|
||||
let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor {
|
||||
label: Some("texture_bind_group"),
|
||||
label: Some("TextureArray bind group"),
|
||||
layout: &bind_group_layout,
|
||||
entries: &[
|
||||
wgpu::BindGroupEntry {
|
||||
|
|
Loading…
Reference in New Issue