8000 Add wgpu news · roalyr/rust-gamedev.github.io@0c26495 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0c26495

Browse files
authored
Add wgpu news
1 parent f7b6f60 commit 0c26495

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

content/posts/newsletter-012/index.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,39 @@ If needed, a sectio 8000 n can be split into subsections with a "------" delimiter.
6666

6767
## Library & Tooling Updates
6868

69+
### `wgpu` news
70+
71+
![tuitui-grass-field](https://wgpu.rs/screenshots/tuitui-grass-field.png)
72+
73+
The work is ongoing to validate all the incoming commands and guarantee API safety.
74+
Special thanks to @GabrielMajeri for helping to convert assertions into errors at `wgpu` level.
75+
We are also introspecting shader requirements, and matching them against the pipelines, but
76+
this will take more effort before it will become universally available.
77+
78+
@cwfitzgerald has been busy adding a few handy native-only extensions, such as descriptor indexing
79+
and push constants. They have also converted our logging to [tracing](https://crates.io/crates/tracing),
80+
setting up our infrastructure for CPU profiling.
81+
82+
#### API turbulence
83+
84+
In the past 2 months, the API for descriptor structures in `wgpu-rs` has been undergoing
85+
a turbulent period. First, non-exhaustive semantics led to introduction of constructors.
86+
Then, efforts to reduce code duplication inside `wgpu` project has led to the
87+
[bovine invasion](https://github.com/gfx-rs/wgpu-rs/pull/460) on wgpu-rs API side.
88+
We are figuring out the plan to address that with a builder pattern now, which will
89+
address both the `Cow`s and non-exhaustives, hopefully putting the end to the turbulence.
90+
91+
In the meantime, `wgpu-rs` ecosystem is flourishing with applications and libraries.
92+
We updated the [showcase gallery](https://wgpu.rs/#showcase) with a few shiny images.
93+
94+
#### Servo
95+
96+
Finally, @kunalmohan has been busy [implementing WebGPU](https://github.com/servo/servo/projects/24) in Servo,
97+
based on `wgpu`. Thanks to this work, Servo is currently ahead of Gecko in terms of API being up-to-date
98+
and covered :tada:. It's already capable of rendering most of the examples, and we are looking forward to
99+
the day when the same Rust code (rendering with `wgpu-rs`) will be deployable to the Web,
100+
and viewable from Firefox, Servo, Chrome, and other browsers.
101+
69102
## Popular Workgroup Issues in Github
70103

71104
<!-- Up to 10 links to interesting issues -->

0 commit comments

Comments
 (0)
0