diff options
| author | Thatters <69167449+Thatters@users.noreply.github.com> | 2026-11-22 11:34:50 -0500 |
|---|---|---|
| committer | Thatters <69167449+Thatters@users.noreply.github.com> | 2026-11-22 11:34:50 -0500 |
| commit | 2a1bd0399de7a603d568ecb3fb9bc15a18720f47 (patch) | |
| tree | a6bcd80e4b9acd0c4455e0d022cefbc21eea3a26 /runtime/shims/file_system.cpp | |
| parent | 0c45e9a5690816d3b9a63a92136c7d8fb8279660 (diff) | |
vk_pipeline_check: a module is in flight from vkCreateShaderModule on, tagged module or pipeline
Review of #2111 (@Pipodi): the in-flight table got its entry only just before vkCreateComputePipelines /
vkCreateGraphicsPipelines, so a thread busy in vkCreateShaderModule (or a large module there, alone behind
compile_gate) was invisible: the watchdog never named it, and --inflight-file couldn't name a module that died there.
- The entry is made once the worker holds compile_gate, before vkCreateShaderModule, with phase "module"; it becomes
"pipeline" when the pipeline is created, and is removed on every path out of the loop (a pipeline, a skip, a failed
module). A module over --large-module-bytes writes the file when it enters the driver, not only at its pipeline.
- --inflight-file lines are "name<TAB>phase"; make_game.py reads the name.
- The watchdog says "still creating the shader module of X" or "still compiling X".
Waiting on compile_gate is not in the table: that thread isn't in the driver.
Tested on Windows 11 Pro 25H2, MSVC 14.51 + Ninja, RTX 5070 Ti / 621.24: the crash end-to-end through
make_game.pipelines on 62 real compute modules (skipped, the other 61 checked); the in-flight file at a simulated
crash reads "<module>\tpipeline" and is empty after a clean pass (62/62). tests/test_make_game_pipelines.py writes the
tab format; all 14 test_make_game*.py files pass. No new warnings. No game data. AI-assisted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/shims/file_system.cpp')
0 files changed, 0 insertions, 0 deletions