Validation Framework: asset-free differential testing, regression detection and synthetic replay #972

Open
opened 2026-11-25 14:16:37 +00:00 by FunWithFlagsDev · 0 comments
FunWithFlagsDev commented 2026-11-25 14:16:37 +00:00 (Migrated from github.com)
Contributor

Imported from fxceless/victory-fork. Originally posted by FunWithFlagsDev on 2026-11-25T14:16:37Z.


<html>

Proposal: VIctory Validation Framework v0.10

Following my previous investigations, I have developed a validation framework intended to complement the existing Fxceless testing infrastructure and reduce dependence on full title execution when investigating correctness and performance regressions.

The objective is to move as much validation as possible toward isolated, reproducible and automated tests, without requiring title files or proprietary assets.

Implemented modules

  • Wave64 differential testing with independent per-lane outputs.

  • Sparse BVH addressing across 64 KiB page and backing-buffer boundaries.

  • Title-memory directory and descriptor coherence, extending the investigation in #937.

  • Texture layout, pitch and buffer-boundary validation.

  • Automated test execution and regression reporting.

  • Paired performance benchmarks with bootstrap confidence intervals.

  • Synthetic command-list and memory replay.

  • Proposed native D3D12 test adapter.

Validation results

All 109 Python tests passed:

Component | Tests passed -- | -- Mathematical models and synthetic replay | 59/59 Existing runners and comparators | 25/25 Native adapter and fixture generator | 9/9 Release audit and integrity checks | 16/16 Total | 109/109

The proposed adapter reuses the project's existing shader translator and D3D12 test infrastructure rather than implementing an alternative translator.

No title files or console SDK are required by the proposed fixtures.

Requested independent validation

I would appreciate assistance from contributors with suitable Windows environments, particularly for:

  1. Reviewing and compiling the proposed test-only Rust changes.

  2. Running the sparse BVH tests on WARP.

  3. Running the Wave64 tests on compatible hardware.

  4. Running the CPU-only texture controls.

  5. Identifying compilation errors, unsupported features or unexpected results.

Please use the dedicated checkout and execution instructions provided in the README, including native_release.py rather than the historical native runner.

Limitations

The Python suite has been executed successfully. The complete source transformation against the actual checkout, native Rust compilation and D3D12 execution have not yet been performed in my environment.

The replay engine is currently a CPU abstraction, not a native GPU capture-and-replay implementation.

This is a release candidate for independent validation, not a claim of native correctness, a confirmed title fix or improved game performance.

Attached package

victory_validation_v10.zip contains the consolidated framework, source proposals, synthetic fixtures, execution reports and technical documentation.

The long-term objective is to help contributors isolate failures, verify proposed fixes and prevent regressions without needing to launch the entire title for every hypothesis.

victory_validation_v10.zip

All current limitations are documented in the README.

Feedback and independent validation are welcome.

</html>
<!-- greyfinch-sync:fxceless/victory-fork:issue:6606536837 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/973). Originally posted by [FunWithFlagsDev](https://github.com/FunWithFlagsDev) on 2026-11-25T14:16:37Z. --- <html> <body> <!--StartFragment--><h2><span>Proposal: VIctory Validation Framework v0.10</span></h2><p><span>Following my previous investigations, I have developed a validation framework intended to complement the existing Fxceless testing infrastructure and reduce dependence on full title execution when investigating correctness and performance regressions.</span></p><p><span>The objective is to move as much validation as possible toward isolated, reproducible and automated tests, without requiring title files or proprietary assets.</span></p><h3><span>Implemented modules</span></h3><ul><li><p><span>Wave64 differential testing with independent per-lane outputs.</span></p></li><li><p><span>Sparse BVH addressing across 64 KiB page and backing-buffer boundaries.</span></p></li><li><p><span>Title-memory directory and descriptor coherence, extending the investigation in #937.</span></p></li><li><p><span>Texture layout, pitch and buffer-boundary validation.</span></p></li><li><p><span>Automated test execution and regression reporting.</span></p></li><li><p><span>Paired performance benchmarks with bootstrap confidence intervals.</span></p></li><li><p><span>Synthetic command-list and memory replay.</span></p></li><li><p><span>Proposed native D3D12 test adapter.</span></p></li></ul><h3><span>Validation results</span></h3><p><span>All 109 Python tests passed:</span></p> Component | Tests passed -- | -- Mathematical models and synthetic replay | 59/59 Existing runners and comparators | 25/25 Native adapter and fixture generator | 9/9 Release audit and integrity checks | 16/16 Total | 109/109 <p><span>The proposed adapter reuses the project's existing shader translator and D3D12 test infrastructure rather than implementing an alternative translator.</span></p><p><span>No title files or console SDK are required by the proposed fixtures.</span></p><h3><span>Requested independent validation</span></h3><p><span>I would appreciate assistance from contributors with suitable Windows environments, particularly for:</span></p><ol start="1"><li><p><span>Reviewing and compiling the proposed test-only Rust changes.</span></p></li><li><p><span>Running the sparse BVH tests on WARP.</span></p></li><li><p><span>Running the Wave64 tests on compatible hardware.</span></p></li><li><p><span>Running the CPU-only texture controls.</span></p></li><li><p><span>Identifying compilation errors, unsupported features or unexpected results.</span></p></li></ol><p><span>Please use the dedicated checkout and execution instructions provided in the README, including </span><code><span>native_release.py</span></code><span> rather than the historical native runner.</span></p><h3><span>Limitations</span></h3><p><span>The Python suite has been executed successfully. The complete source transformation against the actual checkout, native Rust compilation and D3D12 execution have not yet been performed in my environment.</span></p><p><span>The replay engine is currently a CPU abstraction, not a native GPU capture-and-replay implementation.</span></p><p><span>This is a release candidate for independent validation, not a claim of native correctness, a confirmed title fix or improved game performance.</span></p><h3><span>Attached package</span></h3><p><code><span>victory_validation_v10.zip</span></code><span> contains the consolidated framework, source proposals, synthetic fixtures, execution reports and technical documentation.</span></p><p><span>The long-term objective is to help contributors isolate failures, verify proposed fixes and prevent regressions without needing to launch the entire title for every hypothesis.</span></p><p><span> [victory_validation_v10.zip](https://github.com/user-attachments/files/35416043/victory_validation_v10.zip) All current limitations are documented in the README.</span></p><p><span>Feedback and independent validation are welcome.</span></p><!--EndFragment--> </body> </html>
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
fxceless/victory-fork#972
No description provided.