Enable filtering in `wgpu::image`
This commit is contained in:
parent
7eefad34fc
commit
74b9ea520f
|
@ -76,7 +76,7 @@ impl Pipeline {
|
||||||
visibility: wgpu::ShaderStage::FRAGMENT,
|
visibility: wgpu::ShaderStage::FRAGMENT,
|
||||||
ty: wgpu::BindingType::Sampler {
|
ty: wgpu::BindingType::Sampler {
|
||||||
comparison: false,
|
comparison: false,
|
||||||
filtering: false,
|
filtering: true,
|
||||||
},
|
},
|
||||||
count: None,
|
count: None,
|
||||||
},
|
},
|
||||||
|
@ -118,7 +118,7 @@ impl Pipeline {
|
||||||
visibility: wgpu::ShaderStage::FRAGMENT,
|
visibility: wgpu::ShaderStage::FRAGMENT,
|
||||||
ty: wgpu::BindingType::Texture {
|
ty: wgpu::BindingType::Texture {
|
||||||
sample_type: wgpu::TextureSampleType::Float {
|
sample_type: wgpu::TextureSampleType::Float {
|
||||||
filterable: false,
|
filterable: true,
|
||||||
},
|
},
|
||||||
view_dimension: wgpu::TextureViewDimension::D2Array,
|
view_dimension: wgpu::TextureViewDimension::D2Array,
|
||||||
multisampled: false,
|
multisampled: false,
|
||||||
|
|
Loading…
Reference in New Issue