[wgpu 0.7] triangle/msaa disable filtering

This commit is contained in:
Poly 2021-02-03 21:13:51 +01:00
parent 4a6db30d47
commit c5d6ddc126
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ impl Blit {
visibility: wgpu::ShaderStage::FRAGMENT, visibility: wgpu::ShaderStage::FRAGMENT,
ty: wgpu::BindingType::Sampler { ty: wgpu::BindingType::Sampler {
comparison: false, comparison: false,
filtering: true, filtering: false,
}, },
count: None, count: None,
}], }],
@ -58,7 +58,7 @@ impl Blit {
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: true, filterable: false,
}, },
view_dimension: wgpu::TextureViewDimension::D2, view_dimension: wgpu::TextureViewDimension::D2,
multisampled: false, multisampled: false,