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

use WGSL for VertexFormat example types #4035

Merged
merged 3 commits into from
Aug 29, 2023
Merged

Conversation

ScanMountGoat
Copy link
Contributor

@ScanMountGoat ScanMountGoat commented Aug 11, 2023

Checklist

  • Run cargo clippy.
  • Run cargo clippy --target wasm32-unknown-unknown if applicable.
  • Add change to CHANGELOG.md. See simple instructions inside file.

Connections
closes #3990

Description
Most users will write WGSL shaders instead of GLSL. This updates the example types to use WGSL syntax.

Testing
Comparing cargo doc output with https://gpuweb.github.io/gpuweb/#enumdef-gpuvertexformat

wgpu-types/src/lib.rs Outdated Show resolved Hide resolved
@teoxoy teoxoy enabled auto-merge (squash) August 29, 2023 16:43
@teoxoy teoxoy merged commit e47dc2a into gfx-rs:trunk Aug 29, 2023
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.

VertexFormat documentation uses GLSL instead of WGSL types
3 participants