Improve shader mask handling and GPU diagnostics #1227
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1227"
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?
Imported from Marvisak/VIctory. Originally posted by chiragmadhuprasad on 2026-11-24T16:35:11Z.
Summary
This contribution contains three improvements:
Shader handling: Improve mask handling at data joins and support s_bcnt1 SCC mask behaviour.
GPU diagnostics: Improve shadow-buffer allocation diagnostic messages.
Documentation: Add experimental compatibility investigation results and D3D12 debugging notes.
Testing
The following checks completed successfully:
cargo test -p victory-shader
cargo test --workspace
cargo build --release --workspace --features victory-gpu/diagnostics,victory-core/diagnostics
Compatibility investigation
The documentation records experimental GTA VI compatibility research, including shader translation results and D3D12 runtime observations.
These findings do not establish that the game is playable.
Notes
The shader changes include a cherry-picked contribution. Original authorship is preserved in the commit history.
Further review and testing by VIctory maintainers would be appreciated.
Imported from Marvisak/VIctory. Originally posted by Zipettte on 2026-11-24T17:59:45Z.
Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at
13b1beb:cargo test -p victory-gpu -p victory-shaderpasses, 170 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).Tested with AI assistance (Claude).
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:19:27Z.
Automated triage for the maintainers.
Needs rebase. This pull request conflicts with
main(conflicting:crates/victory-gpu/src/copystat.rs,crates/victory-gpu/src/descriptor/host.rs,crates/victory-gpu/src/draw.rs,crates/victory-gpu/src/host.rs,crates/victory-gpu/src/shadow.rs). It will be reviewed once it is rebased onto the currentmain.Generated by Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.