Skip to content

[core] Correctly check mipmap-filtering samplers against the layout.#5953

Merged
teoxoy merged 1 commit intogfx-rs:trunkfrom
jimblandy:fix-5948
Jul 15, 2024
Merged

[core] Correctly check mipmap-filtering samplers against the layout.#5953
teoxoy merged 1 commit intogfx-rs:trunkfrom
jimblandy:fix-5948

Conversation

@jimblandy
Copy link
Copy Markdown
Member

Ensure that samplers using non-Nearest mipmap filtering are considered "filtering samplers" when deciding bind group layout compatibility.

Add tests for layout NonFiltering validation.

Fixes #5948.

@jimblandy jimblandy added the area: validation Issues related to validation, diagnostics, and error handling label Jul 14, 2024
@jimblandy jimblandy requested a review from a team as a code owner July 14, 2024 03:37
Ensure that samplers using non-`Nearest` mipmap filtering are
considered "filtering samplers" when deciding bind group layout
compatibility.

Add tests for layout `NonFiltering` validation.

Fixes gfx-rs#5948.
@teoxoy teoxoy merged commit d02e294 into gfx-rs:trunk Jul 15, 2024
@jimblandy jimblandy deleted the fix-5948 branch July 15, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: validation Issues related to validation, diagnostics, and error handling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

wgpu_core::resource::Sampler::filtering is not set to true if SamplerDescriptor::mipmap_filter is Linear

3 participants