docs: mention VICTORY_COPIES_IN_VIDEO_MEMORY in README Debugging table #2812
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2814"
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 romeawayfromhome-rgb on 2026-11-25T21:15:37Z.
Documents
VICTORY_COPIES_IN_VIDEO_MEMORYin the README Debugging table. The switch exists incrates/victory-gpu/src/host.rs(copies_in_video_memory, diagnostics build only): host copies of title memory go in video memory the CPU maps (a GPU upload heap, where the host has one) to measure how much of the GPU's time is shaders reading the copies over the bus; CPU reads of them become slow, for that measurement only.crates/victory-gpu/src/switch.rsconfirms the on/off semantics the table preamble describes (on when set and not0). The README had no mention of it.Claim: https://github.com/Marvisak/VIctory/issues/1633#issuecomment-7174581008
Docs only (README.md, one table row). Not compiled locally — this environment has no Rust toolchain and the VIctory workspace does not build on Linux; relying on CI. Verified against current main (
13f91ca): README search shows no existing mention, GitHub search for the variable name returns no issues/PRs, and CLAIMS.md has no claim for it. Open PR #2705 adds a different switch (VICTORY_CARD_COPIES) and does not touch the README.Prepared with AI assistance (Muse Spark via Muse); conducted by Alexander Lerbakken (romeawayfromhome-rgb).
Imported from Marvisak/VIctory. Originally posted by kotekompotek on 2026-11-25T21:19:08Z.
Review: COMMENTED
The switch exists (
host.rsreadsVICTORY_COPIES_IN_VIDEO_MEMORYforshared_bufferplacement) and the description matches its behavior — GPU upload heap instead of system memory, trading slower CPU reads for measuring shader-side bus cost. LGTM.Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-25T21:33:12Z.
Checked
4dd1cb0bagainstcrates/victory-gpu/src/host.rs:3151-3195andREADME.md:172-208:VICTORY_COPIES_IN_VIDEO_MEMORYis indeed gated on#[cfg(feature = "diagnostics")], parsed viacrate::switch::on(off by default), probesGPUUploadHeapSupported, and placesHost::shared_bufferinD3D12_HEAP_TYPE_GPU_UPLOAD(at the cost of slower CPU reads), matching the added table row.cargo xtask policy: 184 files ok; cleangit merge-treeagainstorigin/main13f91ca.Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-26T02:20:16Z.
Automated triage for the maintainers.
This adds one row to the README's Debugging table for
VICTORY_COPIES_IN_VIDEO_MEMORY. The switch exists onmain(host.rs, diagnostics builds, read throughswitch::on), was undocumented, and the row describes what it does. It is docs only and kept short.CI: not run (docs-only change).
Generated by Claude Code
Imported from Marvisak/VIctory. Originally posted by futurepro62 on 2026-11-26T13:57:09Z.
Full-suite run on NVIDIA, since this PR has no test report yet. Tested exact head
4dd1cb0(on its base13f91ca).Tested
dxil.dllfrom Windows SDK 10.0.26100 (the loader's default), debug.cargo build --workspace --locked, thencargo test --workspace --locked --no-fail-fast -- --test-threads=4 --skip emit::memory_tests::heap_direct_texture_reads_mark_their_heap_index --skip descriptor::host::tests::dynamic_slots_are_held_until_released --skip memory::tests::lists_share_a_table_and_copies_keep_their_views --skip emit::stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride --skip emit::stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros --skip emit::synthetic_tests::gathers_at_a_level_match_the_hardware: 773 passed, 0 failed, 9 ignored.#[test]functions in the diff.--skipleaves out tests that fail on main63bcca4on this card too, not because of this PR:heap_direct_texture_reads_mark_their_heap_indexends thevictory-shadertest process with0xc0000005(#2571), so without the skip the rest of that crate never reports;dynamic_slots_are_held_until_released,lists_share_a_table_and_copies_keep_their_viewsand the twostride_testshit the 1,000,000-view heap cap of NVIDIA drivers (#1835, #2317);gathers_at_a_level_match_the_hardwarefails on lane 0 (#1744).Not tested
AI use
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.