VICTORY_TRACE_PASSES: open the window at a given shader's first draw or dispatch #579

Open
opened 2026-11-28 05:52:31 +00:00 by github-bot · 2 comments
Owner

@⁠alexballvideos-netizen on GitHub · 2026-11-28 05:51 UTC · original

What's missing

VICTORY_TRACE_PASSES opens its window after a count of world presents. Work that runs rarely, or that only starts once its pipeline is built, falls outside it: in #545 two windows (15,2 and 15,60) never caught eee76bf6 or the four ray-traced compute passes (0af6bb55, 52f01bcb, 67662685, caa50df7), so we couldn't tell whether they run. @⁠marcus-4 suggested opening the window on a given shader's first bind or dispatch.

Proposal

VICTORY_TRACE_PASSES_AFTER=<hash>[,<hash>...] (16-digit hashes, as in VICTORY_SKIP_PIPELINES): once <skip> world presents have gone by, the next draw or dispatch of a pipeline holding one of those shaders opens the window, before that work is noted, so it is the first PASS line. Off unless set, macOS only.

I have a branch with it working and two runs' results; draft PR to follow.

**@⁠alexballvideos-netizen** on GitHub · 2026-11-28 05:51 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/575) ### What's missing `VICTORY_TRACE_PASSES` opens its window after a count of world presents. Work that runs rarely, or that only starts once its pipeline is built, falls outside it: in #545 two windows (15,2 and 15,60) never caught `eee76bf6` or the four ray-traced compute passes (`0af6bb55`, `52f01bcb`, `67662685`, `caa50df7`), so we couldn't tell whether they run. @⁠marcus-4 suggested opening the window on a given shader's first bind or dispatch. ### Proposal `VICTORY_TRACE_PASSES_AFTER=<hash>[,<hash>...]` (16-digit hashes, as in `VICTORY_SKIP_PIPELINES`): once `<skip>` world presents have gone by, the next draw or dispatch of a pipeline holding one of those shaders opens the window, before that work is noted, so it is the first `PASS` line. Off unless set, macOS only. I have a branch with it working and two runs' results; draft PR to follow.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 05:52:31 +00:00
Author
Owner

@⁠alexballvideos-netizen on GitHub · 2026-11-28 05:51 UTC · original

/claim

**@⁠alexballvideos-netizen** on GitHub · 2026-11-28 05:51 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/575#issuecomment-7234931161) /claim
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-28 05:51 UTC · original

Claimed by @⁠alexballvideos-netizen. Open a draft pull request with Refs #575 in its description within 24 hours, or the claim expires.

**@⁠github-actions[bot]** on GitHub · 2026-11-28 05:51 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/575#issuecomment-7234932757) Claimed by @⁠alexballvideos-netizen. Open a draft pull request with `Refs #575` in its description within 24 hours, or the claim expires.
This discussion has been locked. Commenting is limited to contributors.
No description provided.