Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Texture format MSAA capabilities #2377

Merged
merged 1 commit into from
Jan 11, 2022
Merged

Texture format MSAA capabilities #2377

merged 1 commit into from
Jan 11, 2022

Conversation

kvark
Copy link
Member

@kvark kvark commented Jan 11, 2022

Connections
Matches gpuweb/gpuweb#2463

Description
Turned out a bit more involved, but hopefully right. Some of the lines are just rustfmt deciding to split.

MSAA and resolves are not guaranteed for all formats. This PR exposes it via our TextureFormatFeatureFlags, and also converts "filterable" to such flag for consistency.

Testing
MSAA example.

Copy link
Member

@cwfitzgerald cwfitzgerald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small comment, but otherwise lgtm

wgpu-types/src/lib.rs Show resolved Hide resolved
@kvark
Copy link
Member Author

kvark commented Jan 11, 2022

Thanks for the quick review!

@kvark kvark enabled auto-merge (rebase) January 11, 2022 14:32
@kvark kvark merged commit dbec075 into gfx-rs:master Jan 11, 2022
@kvark kvark deleted the aa-caps branch January 11, 2022 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants