master
Mark 2023-12-27 17:57:11 -08:00
parent 2e57840b7a
commit 5a276459e9
Signed by: Mark
GPG Key ID: C6D63995FE72FD80
1 changed files with 2 additions and 2 deletions

View File

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