From 74b9ea520f0f861bda82bbf79a6d4327e42a62fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Sat, 6 Feb 2021 16:04:43 +0100 Subject: [PATCH] Enable filtering in `wgpu::image` --- wgpu/src/image.rs | 4 ++-- 1 file 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,