Refactor/iterative shader bdd #1807

Open
github-bot wants to merge 2 commits from github-bot/gh-1807 into main AGit
Owner

@⁠VlREX on GitHub · 2026-11-24 22:53 UTC · original
VlREX:refactor/iterative-shader-bdd → main · +340 −131 · 2 files · 2 commits · open

No description provided.

**@⁠VlREX** on GitHub · 2026-11-24 22:53 UTC · [original](https://github.com/Marvisak/VIctory/pull/1807) `VlREX:refactor/iterative-shader-bdd` → `main` · +340 −131 · 2 files · 2 commits · open *No description provided.*
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:45:13 +00:00
Author
Owner

@⁠DesertGamer on GitHub · 2026-11-24 22:56 UTC · original

VIctory V2: community PRs, merged and tested

Open PRs sitting in the queue? V2 pulls them into one build, screens each one (binaries, build scripts, hooks, new deps) and runs tests after every batch.

Where it stands today: launches, runs the menu at 30 fps, plays the intro video, reaches the start screen and loads the world (~50 s). Entering the world is the current blocker: rendering fails with a GPU "device removed" error (tracked in issue #1).

⚠️ Entering the world on a real GPU can hang it and make Windows reset the driver. Try it at your own risk.

Not playable yet, but every batch of merged fixes moves it closer. If you have a PR that's stuck, or a GPU to test on, I'd love your help:
https://DesertGamer/VIctory-V2

Unofficial community fork of Marvisak/VIctory, GPL-3.0.

**@⁠DesertGamer** on GitHub · 2026-11-24 22:56 UTC · [original](https://github.com/Marvisak/VIctory/pull/1807#issuecomment-7146821602) ### VIctory V2: community PRs, merged and tested Open PRs sitting in the queue? V2 pulls them into one build, screens each one (binaries, build scripts, hooks, new deps) and runs tests after every batch. **Where it stands today:** launches, runs the menu at 30 fps, plays the intro video, reaches the start screen and loads the world (~50 s). Entering the world is the current blocker: rendering fails with a GPU "device removed" error (tracked in issue #1). :warning: Entering the world on a real GPU can hang it and make Windows reset the driver. Try it at your own risk. Not playable yet, but every batch of merged fixes moves it closer. If you have a PR that's stuck, or a GPU to test on, I'd love your help: https://DesertGamer/VIctory-V2 *Unofficial community fork of Marvisak/VIctory, GPL-3.0.*
Author
Owner

@⁠upipibi on GitHub · 2026-11-24 23:18 UTC · original

NVIDIA run: RTX 3070 8 GB, driver 616.56, plus WARP, Windows 11, debug, c3320ad (on main 70564ae). cargo test -p victory-shader --locked: 209 passed, 3 failed, 2 ignored. The 3 are #1744's NVIDIA heap-cap failures on main, so there are no new failures.

AI-assisted (Claude Code). Synthetic tests only.

**@⁠upipibi** on GitHub · 2026-11-24 23:18 UTC · [original](https://github.com/Marvisak/VIctory/pull/1807#issuecomment-7147253789) NVIDIA run: RTX 3070 8 GB, driver 616.56, plus WARP, Windows 11, debug, `c3320ad` (on `main` `70564ae`). `cargo test -p victory-shader --locked`: 209 passed, 3 failed, 2 ignored. The 3 are #1744's NVIDIA heap-cap failures on `main`, so there are no new failures. AI-assisted (Claude Code). Synthetic tests only.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 01:36 UTC · original · edited 2026-11-25 19:25 UTC

Automated triage for the maintainers.

Merge candidate. This is a recommendation to look, not an approval. It now merges cleanly into main. CI: check passing.

The PR moves the recursive BDD operations ite, forget, restrict and meet from structure.rs into structure/bdd.rs, rewritten with explicit task stacks. That removes recursion as deep as the number of atoms, which matters on title threads with small stacks. I compared each with the removed code. The early returns, overflow checks and memo rules are kept, including restrict storing a decided-only path once the memo is non-empty and the MAX_MEMO clear. So are the low-before-high order, meet's MAX_MEET budget, and the refuted set being filled only after both branches fail. The new tests compare every operation with truth tables over three variables, run a 20,000-variable chain, and check the budget-exhausted "yes". Optional tidy-ups: run cargo fmt, and use a title in the repo's "Shaders: ..." style.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 01:36 UTC · [original](https://github.com/Marvisak/VIctory/pull/1807#issuecomment-7149748780) · edited 2026-11-25 19:25 UTC <!-- victory-triage v1 head=3d8a39a53bda213aa4afb8ddcfd3bbee1cc3faad verdict=merge-candidate at=2026-11-25T19:48:30Z --> Automated triage for the maintainers. **Merge candidate.** This is a recommendation to look, not an approval. It now merges cleanly into `main`. CI: `check` passing. The PR moves the recursive BDD operations `ite`, `forget`, `restrict` and `meet` from `structure.rs` into `structure/bdd.rs`, rewritten with explicit task stacks. That removes recursion as deep as the number of atoms, which matters on title threads with small stacks. I compared each with the removed code. The early returns, overflow checks and memo rules are kept, including `restrict` storing a decided-only path once the memo is non-empty and the `MAX_MEMO` clear. So are the low-before-high order, `meet`'s `MAX_MEET` budget, and the `refuted` set being filled only after both branches fail. The new tests compare every operation with truth tables over three variables, run a 20,000-variable chain, and check the budget-exhausted "yes". Optional tidy-ups: run `cargo fmt`, and use a title in the repo's "Shaders: ..." style. --- _Generated by [Claude Code](https://claude.ai/code)_
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

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

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1807'
git switch 'github-bot/gh-1807'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1807'
git switch 'github-bot/gh-1807'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1807'
git switch 'main'
git merge --squash 'github-bot/gh-1807'
git switch 'main'
git merge --ff-only 'github-bot/gh-1807'
git switch 'main'
git merge 'github-bot/gh-1807'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!1807
No description provided.