Skip to content

Commit 3054a39

Browse files
committed
Add naga/wgpu to n20
1 parent c3ccfa4 commit 3054a39

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

content/posts/newsletter-020/index.md

+28
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,34 @@ If needed, a section can be split into subsections with a "------" delimiter.
7070

7171
## Library & Tooling Updates
7272

73+
# [wgpu]/[naga]
74+
75+
![voxel bunny on wgpu](wgpu-conservative-bunny.png)
76+
Voxel Bunny rendering with conservative rasterization
77+
78+
[wgpu] is a [WebGPU] implementation in Rust. It is safe, efficient,
79+
and portable: can target both native (Vulkan/D3D/Metal) and the Web.
80+
81+
Most progress in April was focused around [WGSL] shaders and validation.
82+
[naga] has seen a lot of improvements in the SPIR-V and WGSL parsing, as well
83+
as backend code generation. Most importantly, it now fully validates both
84+
statements and expressions. No more accidental foot shots from adding vec2
85+
and vec3 in the shaders!
86+
87+
The last and the biggest (in terms of shader complexity) example - "water"
88+
has been successfully ported to WGSL :tada:.
89+
90+
A small addition to our native-only features - conservative rasterization
91+
feature - was added by [@wumpf] and demonstrated on a voxel bunny :rabbit2:
92+
93+
_Discussions: [/r/rust_gamedev](https://www.reddit.com/r/rust_gamedev/comments/mgvd8d/last_big_wgpurs_example_shaders_are_fully_ported/)_
94+
95+
[naga]: https://github.com/gfx-rs/naga
96+
[wgpu]: https://github.com/gfx-rs/wgpu
97+
[WebGPU]: https://gpuweb.github.io/gpuweb/
98+
[WGSL]: https://gpuweb.github.io/gpuweb/wgsl/
99+
[@wumpf]: https://github.com/Wumpf
100+
73101
## Popular Workgroup Issues in Github
74102

75103
<!-- Up to 10 links to interesting issues -->
Loading

0 commit comments

Comments
 (0)