Fix TextureViewDimension for image

wgpu validation helped to find this long standing type error
This commit is contained in:
Poly 2021-02-03 22:26:53 +01:00
parent bd6b8304bd
commit 1fb60c5dcb
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ impl Pipeline {
sample_type: wgpu::TextureSampleType::Float { sample_type: wgpu::TextureSampleType::Float {
filterable: false, filterable: false,
}, },
view_dimension: wgpu::TextureViewDimension::D2, view_dimension: wgpu::TextureViewDimension::D2Array,
multisampled: false, multisampled: false,
}, },
count: None, count: None,