Skip to content

Commit 8d4d2dc

Browse files
Add wgpu news to n29 (#892)
Co-authored-by: Joe Clay <[email protected]>
1 parent 6fc160c commit 8d4d2dc

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

content/news/029/index.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,31 @@ use of assets_manager with ggez engine!
152152
[version 0.7]: https://github.com/a1phyr/assets_manager/releases/tag/0.7.0
153153
[ggez-assets_manager]: https://github.com/a1phyr/ggez-assets_manager/
154154

155+
### [wgpu]-0.12 release
156+
157+
![albedo pathtracer](wgpu-pathtracer.png)
158+
_experimental pathtracer on wgpu from @llamajestic_
159+
160+
The team concluded 2021 with the release of wgpu-0.12 and naga-0.8.
161+
Details can be found on the [gfx-rs blog] and [wgpu reddit discussion].
162+
Lots of fixes are shipped alongside one much-awaited improvement:
163+
the error messages from validating shaders were finally made readable:
164+
165+
```rust
166+
┌─ interpolate.wgsl:21:25
167+
168+
21out.linear_centroid = vec2<f32>(64.0, 125.0, 1.0);
169+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ naga::Expression [16]
170+
171+
Entry point vert_main at Vertex is invalid:
172+
Expression [16] is invalid
173+
Composing expects 2 components but 3 were given
174+
```
175+
176+
[wgpu]: https://github.com/gfx-rs/wgpu
177+
[gfx-rs blog]: https://gfx-rs.github.io/2021/12/25/this-year.html
178+
[wgpu reddit discussion]: https://www.reddit.com/r/rust_gamedev/comments/rjci2n/wgpu012_is_released/
179+
155180
## Popular Workgroup Issues in Github
156181

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

content/news/029/wgpu-pathtracer.png

515 KB
Loading

0 commit comments

Comments
 (0)