Skip to content

Commit d247cb3

Browse files
committed
devlog
1 parent d63bf3a commit d247cb3

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

DEVLOG.md

+25
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# devlog
22

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+
325
## Tue June 4, 2024
426

527
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:
4971
there may be memory concerns.
5072
3. Do something else like provision some handles up front to use later. Possibly any time a pointer is
5173
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).
76+
5277
## Mon June 3, 2024
5378

5479
### NLNet progress

0 commit comments

Comments
 (0)