Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,10 @@ Fill the reusable DXIL cache ahead of a run with the read-only package wrapper.
watchdog for a GPU queue wait (5000 ms). A value that is not a number above 0 keeps the
default. Expiry stops the title before later GPU work is submitted; it never treats elapsed
time as proof that the waited-for work completed.
- `XCL_SPARSE_WINDOWS=<n>` (1 to 8): the number of sparse windows (title memory the GPU sees, in
video memory) of the `XCL_UMA_WINDOWS` layout. Unset: 4 with 16 windows, 3 with 4 or 8. A title's
`MEM_64K_PAGES` reservations go there while they fit, and plain write-watched memory, which
shaders read as zeros, takes the rest; more windows can take more video memory.
- Retired two-pass mesh buffers from tracked command lists can be reused once all GPU
submissions that used them complete, even while the title still holds the command allocator.
- Direct two-pass mesh draws can reuse one smaller record buffer across several slices when
Expand Down
6 changes: 6 additions & 0 deletions crates/xcl/src/gpu/recomp/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5267,6 +5267,12 @@ fn gpu_sparse_vram_descriptors_buffers_and_xmem() {
// 4 windows, or 16 with `XCL_UMA_WINDOWS=16` (windows 0..3 as with 4; then view windows and
// windows without memory)
assert_eq!(u.shader_windows(), crate::gpu::uma::configured_runtime_windows(), "runtime layout has the configured shader windows");
// 16 windows keep 4 sparse windows, so the coherent window is window 4, which this program's
// 4 root-UAV windows do not reach (`XCL_SPARSE_WINDOWS=3` runs it with 16 windows)
if u.committed_window() != Some(3) {
runner::skip_test("the coherent window is not window 3");
return;
}
assert!(u.is_sparse_window(0) && u.is_sparse_window(1) && u.is_sparse_window(2), "windows 0..2 sparse VRAM");
assert!(u.is_committed_window(3), "window 3 coherent committed RAM");
let windows = crate::hle::d3d12x::real::uma_window_vas();
Expand Down
Loading
Loading