D3D12.X: log buffers placed outside the memory windows and their first use #2801
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2801
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2801"
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?
@MacieGx on GitHub · 2026-11-26 13:50 UTC · original
MacieGx:d3d12x/outside-buffers-log→main· +372 −10 · 5 files · 3 commits · openStacked on #2799; only the top commit belongs here.
Two log lines, each for the first four occurrences and then at every power of two:
They are what a run log needs to show whether a title's GPU-only buffers were placed and reached. Part of #505.
What is in it
crates/xcl/src/hle/d3d12x/real.rs: the placement line inplace_outside_buffer.crates/xcl/src/hle/d3d12x/sparse.rs: bytes placed lazily and in use (LAZY_BYTES), and the first-use line inuse_range.Tested
cargo build -p xcl, no new warnings. Logging only, no test.stable-x86_64-pc-windows-msvc, release.cargo build --release --workspace && cargo test --release --workspace --no-fail-fast -- --test-threads=4onefcfdc3: 1437 passed, 4 failed, 47 ignored. The 4 failures aregpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0..3(CreateComputePipelineState: out of memory (0x8007000E)), which fail onmainas well. SKIPPED (the same as onmain): 21 "no wave64", 3 refused by the per-lane form,heap_window_out_of_memory_falls_back_to_the_switch_form,pso_measurement_compiles_an_exact_synthetic_record.Regression run
main:
this PR:
Not tested
AI use
🤖 Generated with Claude Code
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.