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

Open
opened 2026-11-28 05:51:48 +00:00 by alexballvideos-netizen · 2 comments
alexballvideos-netizen commented 2026-11-28 05:51:48 +00:00 (Migrated from github.com)
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by alexballvideos-netizen on 2026-11-28T05:51:48Z.


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 #541 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.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:issue:6659975462 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/575). Originally posted by [alexballvideos-netizen](https://github.com/alexballvideos-netizen) on 2026-11-28T05:51:48Z. --- ### 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 #541 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 commented 2026-11-28 05:51:49 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by alexballvideos-netizen on 2026-11-28T05:51:49Z.


/claim

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7234931161 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/575#issuecomment-7234931161). Originally posted by [alexballvideos-netizen](https://github.com/alexballvideos-netizen) on 2026-11-28T05:51:49Z. --- /claim
github-actions[bot] commented 2026-11-28 05:51:58 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-28T05:51:58Z.


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

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7234932757 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/575#issuecomment-7234932757). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T05:51:58Z. --- Claimed by @alexballvideos-netizen. Open a draft pull request with `Refs #575` in its description within 24 hours, or the claim expires.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
LakshanSivakumar/Native-Victory-macOS#575
No description provided.