Skip to content

Commit 5fd8c17

Browse files
committed
Add wgpu news to n29
1 parent ea9eaaf commit 5fd8c17

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

Diff for: content/news/029/index.md

+26
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,32 @@ If needed, a section can be split into subsections with a "------" delimiter.
7575

7676
## Library Updates
7777

78+
### [wgpu]-0.12 release
79+
80+
![albedo pathtracer](wgpu-pathtracer.png)
81+
_experimental pathtracer on wgpu from @llamajestic_
82+
83+
The team concluded 2021 with the release of wgpu-0.12 and naga-0.8.
84+
Details can be found on the [gfx-rs blog] and [wgpu reddit discussion].
85+
Lots of fixes are shipped alongside one much-awaited improvement:
86+
the error messages from validating shaders were finally made readable:
87+
88+
```
89+
┌─ interpolate.wgsl:21:25
90+
91+
21 │ out.linear_centroid = vec2<f32>(64.0, 125.0, 1.0);
92+
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ naga::Expression [16]
93+
94+
Entry point vert_main at Vertex is invalid:
95+
Expression [16] is invalid
96+
Composing expects 2 components but 3 were given
97+
```
98+
99+
[wgpu]: https://github.com/gfx-rs/wgpu
100+
[gfx-rs blog]: https://gfx-rs.github.io/2021/12/25/this-year.html
101+
[wgpu reddit discussion]: https://www.reddit.com/r/rust_gamedev/comments/rjci2n/wgpu012_is_released/
102+
103+
78104
## Popular Workgroup Issues in Github
79105

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

Diff for: content/news/029/wgpu-pathtracer.png

515 KB
Loading

0 commit comments

Comments
 (0)