docs: mention VICTORY_COPIES_IN_VIDEO_MEMORY in README Debugging table #2814
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!2814
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@romeawayfromhome-rgb on GitHub · 2026-11-25 21:15 UTC · original
romeawayfromhome-rgb:docs/copies-in-video-memory-readme→main· +1 −0 · 1 files · 1 commits · openDocuments
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: #1633
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).
@fuzeofficlal on GitHub · 2026-11-25 21:33 UTC · original
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.@Marvisak on GitHub · 2026-11-26 02:20 UTC · original
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
@kotekompotek on GitHub · 2026-11-25 21:19 UTC · original · reviewed
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.@futurepro62 on GitHub · 2026-11-26 13:57 UTC · original
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.