-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Update to wgpu 0.9 #179
Update to wgpu 0.9 #179
Conversation
- Will not pass CI yet; needs imgui-wgpu update
- The wgpu update for this crate is being upstreamed in Yatekii/imgui-wgpu-rs#58
Btw there's an |
Thanks for the reminder! I'm going to include that soon. The error in the scaling renderer is because I didn't actually run any of the examples while doing this work. I was just looking at compile errors at the time. |
- This moves the hardcoded vertex positions and texture coordinates to the vertex buffer. - Replaces the two-triangle quad to 1 full-screen triangle (fixes #180) - Rewrites the custom shader example to fix a bug with large surface textures; - The input texture size was used for the output texture, causing the purple rectangle to appear very jumpy on large displays in full screen. - The `ScalingRenderer` now exposes its clipping rectangle. The custom shader example uses this for its own clipping rectangle, but it can also be used for interacting with the border in general.
- This is a nice little simplification. - Thanks to @JMS55 for the suggestion!
@JMS55 If you would like to give this another look and 👍 I'm ready to merge it! |
LGTM! |
Would this be released soon? I am trying the pixels/egui for my project, but the released version depends on 0.8.1, causing conflict. |
The plan is to cut the next release following #182. In the meantime, you can pin the [dependencies]
pixels = { git = "https://github.com/parasyte/pixels.git", rev = "ce549a79b69ecaaf325552b5a56fdcdaaa530f3b" } |
@hw762 I released |
Will not pass CI yet; needs imgui-wgpu update