Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0b3f85f

Browse filesBrowse files
kvarkozkriff
andauthored
Newsletter 12: wgpu news (rust-gamedev#206)
* Add wgpu news * Update wgpu section * Newsletter 12: wgpu: Local img and style tweaks Co-authored-by: Andrey Lesnikov <ozkriff@gmail.com>
1 parent b37c2c9 commit 0b3f85f
Copy full SHA for 0b3f85f

File tree

Expand file treeCollapse file tree

2 files changed

+49
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+49
-0
lines changed

‎content/posts/newsletter-012/index.md

Copy file name to clipboardExpand all lines: content/posts/newsletter-012/index.md
+49Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,55 @@ surface. This demo is using [Rust-SDL2][rust-sdl2] for bindings.
138138

139139
## Library & Tooling Updates
140140

141+
### [wgpu][wgpu-site]
142+
143+
![procgen dynamic "grass field"](tuitui-grass-field.jpeg)
144+
145+
^ _[@MacTuitui]'s everyday [nannou] experiement #1274_
146+
147+
The work is ongoing to validate all the incoming commands and guarantee API safety.
148+
Special thanks to [@GabrielMajeri] for helping to convert assertions
149+
into errors at `wgpu` level.
150+
The wgpu devs are also introspecting shader requirements
151+
and matching them against the pipelines, but this will take more effort
152+
before it will become universally available.
153+
154+
[@cwfitzgerald] has been busy adding a few handy native-only extensions,
155+
such as descriptor indexing and push constants.
156+
They have also converted the project's logging to [tracing](https://crates.io/crates/tracing),
157+
setting up the infrastructure for CPU profiling.
158+
159+
In the past 2 months, the API for descriptor structures in `wgpu-rs`
160+
have been undergoing a turbulent period.
161+
First, non-exhaustive semantics led to introduction of constructors.
162+
Then, efforts to reduce code duplication inside `wgpu` project has led to the
163+
[bovine invasion](https://github.com/gfx-rs/wgpu-rs/pull/460) on wgpu-rs API side.
164+
The devs are figuring out the plan to address that with a builder pattern now,
165+
which will address both the `Cow`s and non-exhaustives,
166+
hopefully putting the end to the turbulence.
167+
168+
In the meantime, `wgpu-rs` ecosystem is flourishing with applications and libraries.
169+
The [showcase gallery](https://wgpu.rs/#showcase) was updated with a few shiny images.
170+
171+
------
172+
173+
Finally, [@kunalmohan] has been busy
174+
[implementing WebGPU in Servo][webgpu-in-servo], based on `wgpu`.
175+
Thanks to this work, Servo is currently ahead of Gecko
176+
in terms of API being up-to-date and covered 🎉.
177+
It's already capable of rendering most of the examples,
178+
and the devs are looking forward to the day when the same Rust code
179+
(rendering with `wgpu-rs`) will be deployable to the Web,
180+
and viewable from Firefox, Servo, Chrome, and other browsers.
181+
182+
[@GabrielMajeri]: https://github.com/GabrielMajeri
183+
[@cwfitzgerald]: https://github.com/cwfitzgerald
184+
[@kunalmohan]: https://github.com/kunalmohan
185+
[webgpu-in-servo]: https://github.com/servo/servo/projects/24
186+
[@MacTuitui]: https://twitter.com/MacTuitui
187+
[nannou]: https://nannou.cc
188+
[wgpu-site]: https://wgpu.rs
189+
141190
### Vulkan Renderer (Name TBD)
142191

143192
[![Vulkan renderer on iOS prototype](vulkan-renderer-prototype.jpeg)][vulkan-renderer-prototype-video]
Loading

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.