From c5d6ddc1264a294cab8e41e05828ece3e7df5945 Mon Sep 17 00:00:00 2001 From: Poly Date: Wed, 3 Feb 2021 21:13:51 +0100 Subject: [PATCH] [wgpu 0.7] triangle/msaa disable filtering --- wgpu/src/triangle/msaa.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wgpu/src/triangle/msaa.rs b/wgpu/src/triangle/msaa.rs index 13c2a3c4..0a5a703e 100644 --- a/wgpu/src/triangle/msaa.rs +++ b/wgpu/src/triangle/msaa.rs @@ -34,7 +34,7 @@ impl Blit { visibility: wgpu::ShaderStage::FRAGMENT, ty: wgpu::BindingType::Sampler { comparison: false, - filtering: true, + filtering: false, }, count: None, }], @@ -58,7 +58,7 @@ impl Blit { visibility: wgpu::ShaderStage::FRAGMENT, ty: wgpu::BindingType::Texture { sample_type: wgpu::TextureSampleType::Float { - filterable: true, + filterable: false, }, view_dimension: wgpu::TextureViewDimension::D2, multisampled: false,