You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: DEVLOG.md
+25
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,27 @@
1
1
# devlog
2
2
3
+
## Fri June 14, 2024
4
+
5
+
I put up [another incremental PR for `naga`'s SPIR-V frontend](https://github.com/gfx-rs/wgpu/pull/5775)
6
+
that applies atomic upgrades to types and to a lesser extent to expressions. It's currently awaiting
7
+
review from @jimblandy. If I'm still on-point and understanding the direction then I'll be adding the
8
+
"spiraling out" of expression upgrades next.
9
+
10
+
The "spiraling out" problem is roughly that expressions contain sub-expressions and
11
+
any expression that requires an upgrade might be referenced as a sub-expression of another,
12
+
therefore after an expression upgrade we need to traverse the `Module` looking for these
13
+
references and upgrade the expressions that contains them - which then must be iterated upon
14
+
again, searching the `Module` for expressions that may contain _those_ as sub-expressions.
15
+
16
+
I do have a couple questions that I'm purposefully *not* addressing yet:
17
+
18
+
* TODO
19
+
20
+
## Sun June 9, 2024
21
+
22
+
Following @jimblandy's advice I've got a good portion of the atomic "upgrade" process working.
23
+
*[@jimblandy's explaination of steps required](https://app.element.io/#/room/#naga:matrix.org/$eIqQA71wsmmzR0NWug4KsSFk3YKiX8zpIG6ToNN-0Sk)
24
+
3
25
## Tue June 4, 2024
4
26
5
27
I'm working on "upgrading" pointer types in `naga`'s SPIR-V frontend. This really is the meat of the
@@ -49,6 +71,9 @@ So here we are. I've had a couple ideas, and none of them are great:
49
71
there may be memory concerns.
50
72
3. Do something else like provision some handles up front to use later. Possibly any time a pointer is
51
73
created, also create another placeholder handle.
74
+
75
+
I posted this on the `wgpu`/`naga` matrix and @jimblandy[replied here](https://app.element.io/#/room/#naga:matrix.org/$QkIQkuLk6yxqEXAt3uArnZpvV9C8pDhGJni5800QVv4).
0 commit comments