diff options
author | 2021-02-06 16:04:43 +0100 | |
---|---|---|
committer | 2021-02-06 16:04:43 +0100 | |
commit | 74b9ea520f0f861bda82bbf79a6d4327e42a62fc (patch) | |
tree | d587953309130c4de7721c27cecd733272fe690f /wgpu | |
parent | 7eefad34fc93838a5a3fe976ed0ee47818004b83 (diff) | |
download | iced-74b9ea520f0f861bda82bbf79a6d4327e42a62fc.tar.gz iced-74b9ea520f0f861bda82bbf79a6d4327e42a62fc.tar.bz2 iced-74b9ea520f0f861bda82bbf79a6d4327e42a62fc.zip |
Enable filtering in `wgpu::image`
Diffstat (limited to 'wgpu')
-rw-r--r-- | wgpu/src/image.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wgpu/src/image.rs b/wgpu/src/image.rs index e34cbb0a..70bfe586 100644 --- a/wgpu/src/image.rs +++ b/wgpu/src/image.rs @@ -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, |