Enable filtering in `wgpu::image`

This commit is contained in:
Héctor Ramón Jiménez 2021-02-06 16:04:43 +01:00
parent 7eefad34fc
commit 74b9ea520f
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ impl Pipeline {
visibility: wgpu::ShaderStage::FRAGMENT,
ty: wgpu::BindingType::Sampler {
comparison: false,
filtering: false,
filtering: true,
},
count: None,
},
@ -118,7 +118,7 @@ impl Pipeline {
visibility: wgpu::ShaderStage::FRAGMENT,
ty: wgpu::BindingType::Texture {
sample_type: wgpu::TextureSampleType::Float {
filterable: false,
filterable: true,
},
view_dimension: wgpu::TextureViewDimension::D2Array,
multisampled: false,