feat(gpu/list): add VICTORY_WAIT_SHARE=1 to omit redundant full waits after bindings #267

Merged
Androtim merged 1 commit from upstream-pr/267 into main 2026-11-30 22:53:06 +00:00
Androtim commented 2026-11-30 22:17:36 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-11-30T22:17:36Z.


Summary

  • Add opt-in VICTORY_WAIT_SHARE=1 across crates/victory-gpu/src/list.rs, list/thin.rs, and copystat.rs to skip redundant full UAV waits in barrier, sync, and barrier_groups when only state/binding calls were recorded on the same host list since the previous full wait during thin-stream translation.
  • Track skipped full waits under C::WaitsLeftOut and log per-frame counts in copystat::log.
  • Categorize all opcodes in thin::binds_only and thin::waits with unit-test coverage in list::thin::tests::bindings_record_no_work.

Verification

  • xtask policy: passed (315 files ok)
  • cargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu list:: -- --test-threads=1: passed (16 passed, 0 failed)
  • cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets -- -D warnings: passed (0 warnings)
  • cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --features diagnostics --all-targets -- -D warnings: passed (0 warnings)
<!-- greyfinch-sync:Androtim/MiniVI:issue:5574786435 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/267). Originally posted by [Androtim](https://github.com/Androtim) on 2026-11-30T22:17:36Z. --- ### Summary - Add opt-in `VICTORY_WAIT_SHARE=1` across `crates/victory-gpu/src/list.rs`, `list/thin.rs`, and `copystat.rs` to skip redundant full UAV waits in `barrier`, `sync`, and `barrier_groups` when only state/binding calls were recorded on the same host list since the previous full wait during thin-stream translation. - Track skipped full waits under `C::WaitsLeftOut` and log per-frame counts in `copystat::log`. - Categorize all opcodes in `thin::binds_only` and `thin::waits` with unit-test coverage in `list::thin::tests::bindings_record_no_work`. ### Verification - `xtask policy`: passed (`315 files ok`) - `cargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu list:: -- --test-threads=1`: passed (16 passed, 0 failed) - `cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets -- -D warnings`: passed (0 warnings) - `cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --features diagnostics --all-targets -- -D warnings`: passed (0 warnings)
Androtim commented 2026-11-30 22:53:03 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-11-30T22:53:03Z.


Dual Verification Suite hardware check on RTX 4060 Ti (Wave 11 stacked #262 + #263 + #267 on origin/main 85d4f80, 45s in-world per profile):

  • Unit tests: cargo test -p victory (38 passed; 0 failed), mbient:: (14 passed; 0 failed; 1 ignored), list:: (16 passed; 0 failed)
  • goal-1440-dlssq (1440p, DLSS Quality, FG off): 3.9 fps median (min 3.5, max_draws=5420), VRAM 7440/6699 MB, dropped=158.5, akes=16 ( ailed=0),
<!-- greyfinch-sync:Androtim/MiniVI:comment:7294429944 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/267#issuecomment-7294429944). Originally posted by [Androtim](https://github.com/Androtim) on 2026-11-30T22:53:03Z. --- Dual Verification Suite hardware check on RTX 4060 Ti (Wave 11 stacked #262 + #263 + #267 on origin/main 85d4f80, 45s in-world per profile): - Unit tests: cargo test -p victory (38 passed; 0 failed), mbient:: (14 passed; 0 failed; 1 ignored), list:: (16 passed; 0 failed) - goal-1440-dlssq (1440p, DLSS Quality, FG off): 3.9 fps median (min 3.5, max_draws=5420), VRAM 7440/6699 MB, dropped=158.5, akes=16 ( ailed=0),
Sign in to join this conversation.
No reviewers
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
Androtim/MiniVI!267
No description provided.