Skip to content

Commit 9724544

Browse files
authored
N22: Add Naga (#641)
1 parent e4c970c commit 9724544

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

content/news/022/gfx-dota2-naga.jpg

244 KB
Loading

content/news/022/index.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,23 @@ If needed, a section can be split into subsections with a "------" delimiter.
6262

6363
## Library & Tooling Updates
6464

65+
### [naga]
66+
67+
![Dota2 running on Naga](gfx-dota2-naga.jpg)
68+
69+
Naga is a shader translation library in pure Rust, aiming to replace
70+
glsl-to-spirv and SPIRV-Cross.
71+
72+
In April the gfx-rs team shared a glimpse of the performance difference with
73+
SPIRV-Cross on a single pipeline creation. In May, they did a full-fledged
74+
Dota2 run on [gfx-portability] without SPIRV-Cross. All shader translation was
75+
done by [naga], roughly 4x as fast as the C++ alternative
76+
(with no pipeline caching involved). Read more on [gfx-naga-blog].
77+
78+
[naga]: https://github.com/gfx-rs/naga
79+
[gfx-portability]: https://github.com/gfx-rs/portability
80+
[gfx-naga-blog]: https://gfx-rs.github.io/2021/05/09/dota2-msl-compilation.html
81+
6582
## Popular Workgroup Issues in Github
6683

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

0 commit comments

Comments
 (0)