Pipeline library: a name it lacks is said as such, and a refused store is logged (#70) #76

Closed
github-bot wants to merge 0 commits from github-bot/gh-76 into main AGit
Owner

@⁠Hasusmogus on GitHub · 2026-11-27 08:41 UTC · original
Hasusmogus:fix-70-library-loop → main · +62 −2 · 2 files · 1 commits · closed without merging

For #70: the log line it quotes, and a store refusal that was never shown.

  • pipeline library: made [compute …] in 24.3 ms (the library did not load it: 0x80070057) is printed for every pipeline made for the first time: E_INVALIDARG is how LoadComputePipeline / LoadGraphicsPipeline answer a name the library does not hold yet. The three lines in #70 name three different pipelines, each made once; nothing was rebuilt. The trail now says not in it yet for that code, and the error itself for anything else.
  • A store the library refuses was silent (StorePipeline's result was dropped). It is now logged once per name (pipeline library: store refused; made again by the next run) and counted (not_stored in the save's line).
  • Test: an empty library asked for a name it lacks gives E_INVALIDARG (passes on an RTX A3000 through vkd3d-proton, and is what Microsoft documents).

This does not fix the device removal in #70. With the library ruled out, the wave-wide programs themselves are the suspects (group barriers inside branches; emit/mod.rs notes runs 121-124 lost the card that way). VICTORY_WAVE_WIDE_ONLY=<hash>,… turns the wave-wide form on for named shaders only, which can bisect the one that loses the card.

Checked: cargo clippy --workspace --all-targets [--all-features] -- -D warnings clean.

🤖 Generated with Claude Code

**@⁠Hasusmogus** on GitHub · 2026-11-27 08:41 UTC · [original](https://github.com/DoubleGhosty/cool_fox/pull/76) `Hasusmogus:fix-70-library-loop` → `main` · +62 −2 · 2 files · 1 commits · closed without merging For #70: the log line it quotes, and a store refusal that was never shown. - `pipeline library: made [compute …] in 24.3 ms (the library did not load it: 0x80070057)` is printed for **every pipeline made for the first time**: `E_INVALIDARG` is how `LoadComputePipeline` / `LoadGraphicsPipeline` answer a name the library does not hold yet. The three lines in #70 name three different pipelines, each made once; nothing was rebuilt. The trail now says `not in it yet` for that code, and the error itself for anything else. - A store the library refuses was silent (`StorePipeline`'s result was dropped). It is now logged once per name (`pipeline library: store refused; made again by the next run`) and counted (`not_stored` in the save's line). - Test: an empty library asked for a name it lacks gives `E_INVALIDARG` (passes on an RTX A3000 through vkd3d-proton, and is what Microsoft documents). This does not fix the device removal in #70. With the library ruled out, the wave-wide programs themselves are the suspects (group barriers inside branches; `emit/mod.rs` notes runs 121-124 lost the card that way). `VICTORY_WAVE_WIDE_ONLY=<hash>,…` turns the wave-wide form on for named shaders only, which can bisect the one that loses the card. Checked: `cargo clippy --workspace --all-targets [--all-features] -- -D warnings` clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The trail said "the library did not load it: E_INVALIDARG" for every
pipeline made for the first time: that is how LoadComputePipeline and
LoadGraphicsPipeline answer a name not stored yet, and #70 read it as
the library refusing the pipeline. It now says "not in it yet". A store
the library refuses was not seen at all: it is now logged once a name
and counted (not_stored, in the save's line).

A test asks an empty library for a name it lacks: E_INVALIDARG.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 08:45:34 +00:00
github-bot closed this pull request 2026-11-27 08:56:25 +00:00
Author
Owner

@⁠DoubleGhosty on GitHub · 2026-11-27 08:53 UTC · original

Cherry-picked into main as 5fe14b16. Thanks!

**@⁠DoubleGhosty** on GitHub · 2026-11-27 08:53 UTC · [original](https://github.com/DoubleGhosty/cool_fox/pull/76#issuecomment-7214044859) Cherry-picked into main as 5fe14b16. Thanks!

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.