make texture from sprite pipeline filterable (#3236)

# Objective

- Fix #3235

## Solution

- in `sprite_pipeline`, make the texture filterable
This commit is contained in:
François 2021-12-02 23:56:44 +00:00
parent c6fec1f0c2
commit 4423a2fa2d

View file

@ -58,7 +58,7 @@ impl FromWorld for SpritePipeline {
visibility: ShaderStages::FRAGMENT,
ty: BindingType::Texture {
multisampled: false,
sample_type: TextureSampleType::Float { filterable: false },
sample_type: TextureSampleType::Float { filterable: true },
view_dimension: TextureViewDimension::D2,
},
count: None,