Skip to content

How do I set a sample to non-filtering? #7592

Closed Answered by janhohenheim
janhohenheim asked this question in Q&A
Discussion options

You must be logged in to vote

Mirroring the discord discussion here for googleability:

Griffin — Today at 5:20 AM
The AsBindGroup macro you have expands to:

    fn bind_group_layout(render_device: &renderer::RenderDevice) -> BindGroupLayout {
        render_device.create_bind_group_layout(&BindGroupLayoutDescriptor {
            entries: &[
                BindGroupLayoutEntry {
                    binding: 0u32,
                    visibility: ShaderStages::VERTEX | ShaderStages::FRAGMENT,
                    ty: BindingType::Texture {
                        multisampled: false,
                        sample_type: TextureSampleType::Float { filterable: false },
                        view_dimension: TextureViewDim…

Replies: 1 comment

Comment options

janhohenheim
Feb 10, 2023
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by janhohenheim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant