Repository navigation
GPU: expand synthetic unit tests for pipeline/make.rs (1 -> 9/12 tests) - #1203
geiyiliyabumo wants to merge 1 commit into
Conversation
…ied together Merges Marvisak#72 Marvisak#347 Marvisak#1000 Marvisak#358 Marvisak#352 Marvisak#626 Marvisak#1152 Marvisak#1129 Marvisak#1203 Marvisak#24 Marvisak#642 Marvisak#427 Marvisak#485 Marvisak#550 Marvisak#174 Marvisak#1279 onto main (ffe310e), each head unchanged, no conflicts. One change of mine: three of the PRs each add a `mod tests` at the end of pipeline/host.rs, so the merge defines `tests` three times (E0428). The second and third are named `library_tests` and `blend_tests`; nothing else changes. cargo clippy --workspace --all-targets --locked -- -D warnings, with and without --all-features, is clean and cargo test --workspace --locked passes (367 passed, 6 ignored; main has 342 passed, 6 ignored). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ame wait bundle Taken from the bundle: 64 MB stacks for pipeline workers (#1129), no blending on integer render targets (#1152), root signature flag fallback (#626), read-only depth read states (#485, on our stored rtvs/dsv and bind_targets), enhanced texture barrier translation (#642, on our recording_list so continuation segments get it), indirect mesh dispatch (#24), the frame wait taking its tick before it sleeps (#174), and the make.rs unit tests (#1203). Kept from our side: - pipeline/make.rs: early() starts every compute pipeline at creation (b4e8419); the per-pipeline wake pair, per-frame budget, wait_compute and copystat counters. The bundle's the_wait_budget_is_spent_once_per_frame test is dropped (written for its fixed BUDGET; our FrameBudget tests cover it); a_pipeline_is_made_once now holds the tests' serial lock. - indirect.rs: our whole file (#40's overflow-safe clamp, DXC fallback for Wine, rectangle pass). #1279's structured-buffer clamp and its readback test (written for the old bound/done API) are left out. - draw.rs: NOT_MADE counter, user_dword, typed table nulls (table_view_props, mirror_for_draw); the depth test calls readable() directly since our tables() needs a host pipeline. - frame.rs: our `_tick` (the diagnostics log already names it). - list.rs: execute_indirect's DISPATCH_SINGLE mapping in one place; our tests beside the bundle's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ke.rs (1 -> 9/12 tests)
…ke.rs (1 -> 9/12 tests)
|
Automated triage for the maintainers. Needs rebase. Previous verdict for this head: merge candidate. Generated by Claude Code |
76291ef to
a19b730
Compare
|
Rebased cleanly onto \main\ (\ccfb029), updating the two early-start tests to match \main's mark-used-on-first-draw semantics. \cargo test -p victory-gpu --locked pipeline::make::tests\ (10 passed, 0 failed), \cargo clippy -p victory-gpu --all-targets --locked -- -D warnings, and \cargo xtask policy\ all pass. |
|
Updated per triage feedback: reverted the unrelated \wait\ reformat (diff is now strictly confined to \mod tests), dropped \ he_wait_budget_is_spent_once_per_frame, and removed all wall-clock timing assertions while keeping the deterministic key and worker-completion tests. Rebased onto \main\ (\940d32f); \cargo test -p victory-gpu --locked pipeline::make::tests\ (9 passed, 0 failed), \cargo clippy -p victory-gpu --all-targets --locked -- -D warnings, and \cargo xtask policy\ all pass. |
a19b730 to
f38bd8f
Compare
…ke.rs (1 -> 9/12 tests)
…ke.rs (1 -> 9/12 tests)
|
Automated triage for the maintainers, second look (a review against The key-completeness tests are worth having, and this can be merged after two changes in
Push the change and it will be reviewed again. Thank you for the contribution. |
Summary
Closes #1051
Full verification details and change notes are documented in #1051 (commit
76291ef, based onmainffe310e).Verification (Windows 11 x64 MSVC)
rustfmt --edition 2024 --checkon edited files: PASScargo xtask policy: PASS (zero game files/data)cargo clippy --all-targets --locked -- -D warnings(default +--features diagnosticswhere applicable): PASSAI-assisted; synthetic tests only, no game files.