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

First pass at updating to the future wgpu 0.7 version #1199

Closed
wants to merge 1 commit into from

Conversation

maspe36
Copy link

@maspe36 maspe36 commented Jan 3, 2021

This PR is a WIP for upgrading our wgpu dependency. Created initially as exploratory work for #899.

@Moxinilian
Copy link
Member

Thanks for the update! It will however not be possible to merge a git dependency into master, so we probably will have to wait for the actual wgpu 0.7 release to merge this.

let shader_module_descriptor = ShaderModuleDescriptor {
label: None,
source: source,
flags: Default::default()

Choose a reason for hiding this comment

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

I think you'll probably want the shader validation flag to replicate the old behavior:

Suggested change
flags: Default::default()
flags: wgpu::ShaderFlags::VALIDATION

@cart
Copy link
Member

cart commented Feb 1, 2021

closed in favor of #542

@cart cart closed this Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants