fix(gpu,formats,hle): stage cross-family BC copies, fix BCPack edges, and hold active decompression uploads #294
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/294"
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 Androtim/MiniVI. Originally posted by Androtim on 2026-12-01T21:30:30Z.
Summary
Three root-cause visual and texture correctness fixes made default-on (zero opt-in toggles):
Cross-family block-compressed texture copy staging (crates/victory-gpu/src/list.rs, host/place.rs):
BCPack rANS fragment-end & finished-lane edge fixes (crates/victory-formats/src/bcpack.rs):
ef_oracle and added targeted unit tests (ragment_end_refill_below_low_is_kept_and_drained, inished_lane_with_empty_payload_does_not_steal_peer_byte_on_final_symbol).
Default-on DirectStorage write-in-flight texture hold (crates/victory-gpu/src/ds_hold.rs, draw.rs, lib.rs, crates/victory-hle/src/modules/dstorage.rs):
Static & Unit Verification
cargo +1.98.1-x86_64-pc-windows-gnu xtask policy: PASS (319 files ok)cargo +1.98.1-x86_64-pc-windows-gnu test --locked -p victory-formats --lib bcpack::: 17 passed, 0 failed (3 ignored benchmarks/external)cargo +1.98.1-x86_64-pc-windows-gnu test --locked -p victory-gpu --lib list::: 21 passed, 0 failed (including live D3D12 _copy_between_bc_families_closes with debug layer clean)cargo +1.98.1-x86_64-pc-windows-gnu test --locked -p victory-gpu --lib ds_hold::: 2 passed, 0 failedcargo +1.98.1-x86_64-pc-windows-gnu test --locked -p victory-hle --lib modules::dstorage::: 31 passed, 0 failed (1 ignored benchmark)clippy --workspace --locked --all-targets -- -D warnings(default &--features diagnostics): PASS (0 warnings)objdump -p: standard Windows DLLs onlyPaired 60s Plain
--releaseA/B Benchmark (1440p, -PlayParity -LowVram -DlssMode quality) vs main (81661aff)81661aff)Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-01T21:40:38Z.
Architect & Strict-Gate Review (
eda88bd6, CI passing, zero file overlap with#292, clean leaf-locked RAIIPendingTitleWrite, live D3D12 debug-layera_copy_between_bc_families_closesverified, zero opt-inVICTORY_*toggles —VICTORY_DS_HOLD=0kill-switch only):Cleanly lands three Wave 2 visual/texture correctness fixes (
srmooon/sixmooncross-family BC staging +crbns/victory-tapinBCPack rANS edge fixes &DS_HOLD) while winning every strict plain--release60s 1440p gate vs81661aff:13.6 -> 14.1 fps(+0.50 fps,-2.6 ms/frame)34.4 -> 30.4 ms(-4.0 ms) /13.8 -> 13.2 ms(-0.6 ms)6,012 -> 5,988 MB(-24 MB,over = 0 MB,room_false = 0.0%),uploaded59,304 -> 67,676(+8,372),final_waiting2,171 -> 1,977(-194)0crashes/DRED,untranslated = 6 -> 6,17bcpack::+21list::+2ds_hold::+31dstorage::tests pass; 90s--features diagnosticslate in-world PNGs directly verified crisp and clean (luma = 98.67,near_black = 0.05%,edge_energy = 7.58,magenta = 0.0%,failed = 0).Squash-merging into
main(will tagv2026.12.01.03shipping#291+#293+#292+#294oncemainCI passes cleanly).