victory-shader: add forced-var propagation and UNSAT memoization to Bools::meet #947
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!947
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/947/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Sakura-Byte on GitHub · 2026-11-24 14:25 UTC · original
Sakura-Byte:pr/bdd-meet-forced-vars→main· +392 −26 · 1 files · 1 commits · closed without mergingSummary
Bools::meetincrates/victory-shader/src/structure.rsto prevent exponential blowup on complex control-flow graphs.Verification
cargo xtask policyandcargo clippy --locked -- -D warnings: cleanAI-assisted; synthetic tests only, zero game assets.
@MichaelSmithAI on GitHub · 2026-11-24 14:47 UTC · original
A live compute readback on RTX 4090 under Wine/vkd3d-proton 3.2 checked which buffer the shader actually reads after the descriptor values join. On
80a235e, the shader validated and the first two output words were 100 and 101 from the expected buffer. The other 30 words stayed zero. Onffe310e, the same fixture stopped during resource tracking at byte 656, before shader emission.All three focused Win64 tests passed, including the two existing diamond-chain controls. The Linux shader suite passed 100 tests with one ignored. This shows the solver change admits this source-built shader and preserves its live descriptor choice. Translation time and the number of affected title shaders remain unmeasured.
@Zipettte on GitHub · 2026-11-24 15:40 UTC · original
Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at 80a235e:
cargo test -p victory-shaderpasses, 124 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).Tested with AI assistance (Claude).
@Marvisak on GitHub · 2026-11-25 00:28 UTC · original
Automated triage for the maintainers. Closing because this change is already in
main, ormainhas since replaced the code it patches.UNSAT memoization in
Bools::meetis in main (structure.rsmeet_inwithrefuted); the extra forced-variable propagation comes with no measurement.If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.
Pull request closed