Diagnostics: add opt-in title no-draw mode #1405

Open
github-bot wants to merge 4 commits from github-bot/gh-1405 into main AGit
Owner

@⁠spk-c on GitHub · 2026-11-26 23:30 UTC · original
spk-c:submit/no-draw-diagnostics → main · +1466 −1418 · 14 files · 4 commits · open

AI-assisted selective adaptation of Kelvaroq 0061 via spk-c/victory-fork#39, on upstream 4c604661. Source attribution in docs.

Default-off VICTORY_NO_DRAWS=1 suppresses ordinary and format-specific title pipeline lookup, creation-time early builds and BVH builder registration. Includes a fresh-process synthetic regression covering both lookup entry points, no queued host pipelines and no shader translation. This is diagnostic only: suppressing graphics and compute can change simulation and streaming; it is not an equivalent gameplay workload and no FPS improvement is claimed.

The original fork CI passed. The narrower upstream port passes git diff --check; compile and CI on the exact new commit are pending. Draft.

CI baseline repair

The upstream 512 KiB asset-policy failure on main (#1342) is addressed in this branch by including the existing maintainer patch #1357 (original commit 450ed9bd, attribution preserved). No policy limit or security check was changed. The identical combined commit 465376a3 passed the full Windows CI in our fork, including Clippy in both configurations, workspace/asset-policy tests and serial GPU tests: https://github.com/spk-c/victory-fork/actions/runs/45912164957. The direct upstream check is being rerun on this head. The #1357 changes are a shared dependency, not part of this feature; they will disappear from the diff when that commit is merged upstream normally. Hardware/gameplay retesting is not implied by this CI result.

**@⁠spk-c** on GitHub · 2026-11-26 23:30 UTC · [original](https://github.com/fxceless/victory-fork/pull/1405) `spk-c:submit/no-draw-diagnostics` → `main` · +1466 −1418 · 14 files · 4 commits · open AI-assisted selective adaptation of Kelvaroq 0061 via spk-c/victory-fork#39, on upstream 4c604661. Source attribution in docs. Default-off VICTORY_NO_DRAWS=1 suppresses ordinary and format-specific title pipeline lookup, creation-time early builds and BVH builder registration. Includes a fresh-process synthetic regression covering both lookup entry points, no queued host pipelines and no shader translation. This is diagnostic only: suppressing graphics and compute can change simulation and streaming; it is not an equivalent gameplay workload and no FPS improvement is claimed. The original fork CI passed. The narrower upstream port passes git diff --check; compile and CI on the exact new commit are pending. Draft. ## CI baseline repair The upstream 512 KiB asset-policy failure on main (#1342) is addressed in this branch by including the existing maintainer patch #1357 (original commit `450ed9bd`, attribution preserved). No policy limit or security check was changed. The identical combined commit `465376a3` passed the full Windows CI in our fork, including Clippy in both configurations, workspace/asset-policy tests and serial GPU tests: https://github.com/spk-c/victory-fork/actions/runs/45912164957. The direct upstream check is being rerun on this head. The #1357 changes are a shared dependency, not part of this feature; they will disappear from the diff when that commit is merged upstream normally. Hardware/gameplay retesting is not implied by this CI result.
The check job fails on main: crates/victory-gpu/src/host.rs (528,954 bytes)
and crates/victory-shader/src/emit/lower.rs (535,588 bytes) are over the
asset policy's 512 KiB limit (#1342).

Only #[cfg(test)] modules move, verbatim apart from losing one level of
indentation; module names and paths are unchanged, no non-test code changes.

- host.rs: its eight test modules (tests, relay_tests, grouped_tests,
  late_tests, trail, spare, batch, queue2_tests) move to host/<name>.rs,
  the layout profile.rs and profile/tests.rs already use. 492,495 bytes.
- lower.rs: mod tests moves to emit/lower_tests.rs, declared with
  #[path = "lower_tests.rs"] as in #1322. 512,559 bytes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015kFDn6faAxnJwPKPwiCnj1
AI-assisted selective adaptation of Kelvaroq 0061 / fork PR #39.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 01:03:38 +00:00
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/host.rs
  • crates/victory-shader/src/emit/lower_tests.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1405/head:github-bot/gh-1405'
git switch 'github-bot/gh-1405'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1405'
git switch 'github-bot/gh-1405'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1405'
git switch 'github-bot/gh-1405'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1405'
git switch 'main'
git merge --squash 'github-bot/gh-1405'
git switch 'main'
git merge --ff-only 'github-bot/gh-1405'
git switch 'main'
git merge 'github-bot/gh-1405'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.