Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
499 commits
Select commit Hold shift + click to select a range
35867f6
Tests: check that the split exchange zeroes its own counters
theaustinayers Nov 25, 2026
45f9c79
Docs: say the split exchange spins by default in both translators
theaustinayers Nov 25, 2026
2764d38
Merge branch 'wm6/barrier' into world-main (no disk cache with XCL_SA…
theaustinayers Nov 25, 2026
be36a73
Merge branch 'wm6/watch' into world-main (a long driver call is logge…
theaustinayers Nov 25, 2026
2536d2f
Recompiler: a compute loop's passes shrink with the dispatch's size
Prime1997 Nov 25, 2026
e095a7b
Recompiler: find the loop directly around each loop of a direct CFG
theaustinayers Nov 25, 2026
d9a247b
Recompiler: direct compute loops count each entry against the dispatch
theaustinayers Nov 25, 2026
a0b82da
D3D12.X: XCL_DISPATCH_LOOP_BUDGET=0 leaves dispatches without a share
theaustinayers Nov 25, 2026
db334b8
D3D12.X: read XCL_DISPATCH_LOOP_BUDGET outside the translator's sources
theaustinayers Nov 25, 2026
9e6a520
README: say which compute loops the dispatch's share bounds
theaustinayers Nov 25, 2026
8cbb0a6
Tests: guard both back edges of a loop in the loop-forest tests
theaustinayers Nov 25, 2026
543990a
Tests: check that a direct loop's count of 0 ends the program
theaustinayers Nov 25, 2026
eaffac2
Tests: compile a compute program's HLSL loop counts with DXC
theaustinayers Nov 25, 2026
79fe690
Merge branch 'wm7/loops' into world-main (a compute loop's passes shr…
theaustinayers Nov 25, 2026
89f1105
Merge upstream main (06c9f55: direct compute pipelines split into dis…
theaustinayers Nov 25, 2026
0f2fa3e
Recompiler: keep split wave64 compute programs whole instead of chain…
theaustinayers Nov 25, 2026
52b3873
D3D12.X: build a backlog build's chain pieces on its own worker
theaustinayers Nov 25, 2026
9663ff3
D3D12.X: a chain piece whose build panics fails instead of hanging it…
theaustinayers Nov 25, 2026
aec904f
D3D12.X: bind dispatch chain pieces and the whole form past the list …
theaustinayers Nov 25, 2026
8aa9ed2
D3D12.X: hold the title while a split program's whole form is built i…
theaustinayers Nov 25, 2026
8e6b508
D3D12.X: log a huge dispatch chain pipeline the driver refuses
theaustinayers Nov 25, 2026
6c7bce1
D3D12.X: cap the scratch chained dispatches hold together
theaustinayers Nov 25, 2026
094e43f
D3D12.X: log the compute split counts only when they change
theaustinayers Nov 25, 2026
182f8c2
D3D12.X: the interface probe releases what QueryInterface gave throug…
theaustinayers Nov 25, 2026
2e72554
D3D12.X: a list submitted again waits for its previous submit
theaustinayers Nov 25, 2026
6e2456b
D3D12.X: a Dispatch past 65 535 groups a dimension is said, with its …
theaustinayers Nov 25, 2026
4e318aa
Merge branch 'wm8/upmerge' into world-main (upstream main 06c9f55: di…
theaustinayers Nov 25, 2026
f2a7249
D3D12.X: XCL_TRACE_FORMATS keeps the frame trace to draws into target…
theaustinayers Nov 25, 2026
6ee3743
Recompiler: split wave64 groups of one console wave meet at a group b…
grahamster2 Nov 25, 2026
794c6ae
D3D12.X: the frame trace can start in the world and names what a copi…
theaustinayers Nov 25, 2026
b921527
Merge upstream main 68a284a into the fork (35 commits: stand-ins that…
theaustinayers Nov 25, 2026
6e4fef5
Merge branch 'wm9/upmerge' into world-main (upstream main 68a284a)
theaustinayers Nov 25, 2026
41f1a85
Recompiler: loads through s_getpc_b64 read the constant data after th…
MacieGx Nov 25, 2026
3842807
Shaders: isolate DXC compiler heaps for parallel AOT
bmjask Nov 24, 2026
fe650b6
D3D12.X: dispatches of more than 65 535 groups in X are folded into Y
lukastaro Nov 24, 2026
82daf31
gpu: a folded dispatch is unfolded in the direct translators too
lukastaro Nov 25, 2026
005a442
D3D12.X: sampled textures go without their top mips while video memor…
NWProgramming00 Nov 25, 2026
6804673
Shaders: fall back to the process heap when a private DXC heap fails
theaustinayers Nov 25, 2026
ca1e6ad
D3D12.X: keep the fold's clamp off bundles and name the console's groups
theaustinayers Nov 25, 2026
fc4481d
Merge branch 'wm10/shaders' into world-main (upstream PR #2229: const…
theaustinayers Nov 25, 2026
60380a2
Merge branch 'wm10/dxc' into world-main (upstream PR #688: private he…
theaustinayers Nov 25, 2026
6a8de1f
D3D12.X: the frame trace says what a draw's depth-stencil view names
theaustinayers Nov 25, 2026
e13baaa
kernelx: an address keeps the page the title mapped there last
theaustinayers Nov 25, 2026
38a90af
kernelx: decode the batches of the queue's CopyPageMappingsBatchX
theaustinayers Nov 25, 2026
f9abe06
kernelx: GPU-view pages record the physical page mapped into them
theaustinayers Nov 25, 2026
6580640
D3D12.X: depth buffers with unordered access are kept with their DSVs
theaustinayers Nov 25, 2026
4f32a5a
D3D12.X: a stencil UAV of a depth buffer can be a view of an R8 twin
theaustinayers Nov 25, 2026
519e712
kernelx: a GPU-view page follows its physical page where it is kept
theaustinayers Nov 25, 2026
f040902
kernelx: the changed pages of a GPU view, and the views a write reaches
theaustinayers Nov 25, 2026
9cc53f1
D3D12.X: a dispatch that needs folding runs no more groups than a dis…
theaustinayers Nov 25, 2026
8f775c9
D3D12.X: ClearUnorderedAccessView of a twinned UAV clears the twin
theaustinayers Nov 25, 2026
6fc9d73
kernelx: a decommit is told to sparse while GPU views show mapped pages
theaustinayers Nov 25, 2026
cf3e629
D3D12.X: XCL_DUMP_TARGETS says what a depth UAV twin holds
theaustinayers Nov 25, 2026
2119cc9
D3D12.X: a range in a GPU view is taken page by page on the CPU
theaustinayers Nov 25, 2026
0261c7d
D3D12.X: the tiles of a GPU view show the pages mapped into them
theaustinayers Nov 25, 2026
835d737
D3D12.X: the depth UAV twin line gives the state the title made the b…
theaustinayers Nov 25, 2026
16f42ac
D3D12.X: a UAV clear of a twinned buffer through an unnamed view is n…
theaustinayers Nov 25, 2026
ec993a6
D3D12.X: a tile of a GPU view follows its page when the page moves
theaustinayers Nov 25, 2026
34285f0
D3D12.X: a console-recorded UAV clear of a twinned view clears the twin
theaustinayers Nov 25, 2026
f6fcae1
Tests: a depth UAV twin test skipped in its child process says so
theaustinayers Nov 25, 2026
b86b2fa
Tests: depth UAV twins of a placed buffer, a view by address, the swi…
theaustinayers Nov 25, 2026
b3519a7
D3D12.X: the frame trace holds the DSV's resource while it describes it
theaustinayers Nov 25, 2026
f87e171
D3D12.X: the frame trace marks ExecuteIndirect draws and gives no sta…
theaustinayers Nov 25, 2026
2ba9ee7
D3D12.X: a texture over mapped GPU-view pages is read where they are …
theaustinayers Nov 25, 2026
569e20e
Merge branch 'wm11/stencil' into world-main (depth buffers with unord…
theaustinayers Nov 25, 2026
62a78dd
D3D12.X: a texture goes up again when a mapping under it changes
theaustinayers Nov 25, 2026
b2c01a2
D3D12.X: a write where a mapped page is kept reaches its textures
theaustinayers Nov 25, 2026
1ae1a17
D3D12.X: queue CopyPageMappingsBatchX maps pages into GPU views (#1031)
theaustinayers Nov 25, 2026
8c0ce9e
D3D12.X: XCL_TEXTURE_SAFE_READ=1 copies a texture's memory out before…
theaustinayers Nov 25, 2026
82df1ce
D3D12.X: a line says what the queue's page mappings did
theaustinayers Nov 25, 2026
9eacab0
D3D12.X: the frame trace names the depth buffers shaders may write
theaustinayers Nov 25, 2026
d076a48
kernelx: a page that leaves plain memory has the tiles over it linked…
theaustinayers Nov 25, 2026
c3b80c4
kernelx: a released block of unified memory leaves no shown page there
theaustinayers Nov 25, 2026
ccf1d2a
D3D12.X: a tile waiting to be linked again waits once
theaustinayers Nov 25, 2026
5f067e4
D3D12.X: a write for the GPU where a mapped page is kept is a known w…
theaustinayers Nov 25, 2026
a353b71
D3D12.X: GPU writes are noted per list only while page mappings are on
theaustinayers Nov 25, 2026
3b9520e
Tests: the page-mapping tests own their pairs, report skips, check more
theaustinayers Nov 25, 2026
792d967
D3D12.X: a device removal says what the list the GPU was in had left
theaustinayers Nov 25, 2026
e9b56ad
xcl run: the memory line and a device removal give the system's commit
theaustinayers Nov 25, 2026
24efe30
Merge branch 'wm11/pages' into world-main (the queue's CopyPageMappin…
theaustinayers Nov 25, 2026
960ed8b
D3D12.X: the frame trace takes a render target only while a view hold…
theaustinayers Nov 25, 2026
fdbb6fe
D3D12.X: XCL_ACTIVITY counts and times the per-draw buffer mirror sync
KOLESNiii Nov 25, 2026
c392da5
Recompiler: Return BVH misses for unmapped memory windows
Lkxex Nov 25, 2026
ec538f1
D3D12.X: a dispatch put off to the submit waits there until it is built
grahamster2 Nov 25, 2026
c24fbbf
D3D12.X: the per-draw mirror sync copies without asking readable()
KOLESNiii Nov 25, 2026
6737e7b
D3D12.X: the argument pass of a two-pass ExecuteIndirect sets every view
theaustinayers Nov 25, 2026
c044dc6
D3D12.X: XCL_SKIP_CS_KB leaves the biggest compute programs without a…
theaustinayers Nov 25, 2026
22eb6f2
Recompiler: an S# word written with s_brev_b32 is a constant too
Prime1997 Nov 25, 2026
f8d79ec
Merge upstream main (e1d84b7d) into world-main
theaustinayers Nov 25, 2026
9ae016a
Merge upstream pull request #2555 (draft): shaders prepared in the ga…
theaustinayers Nov 25, 2026
e44c9ff
D3D12.X: clear LAST_CONTENT on placed texture unmap and remap (#2460)
AngeloMaiale Nov 25, 2026
6aa80e3
Merge upstream main (b49be183: #174, #2371) into world-main
theaustinayers Nov 26, 2026
2870e10
Merge upstream pull request #2437: D3D12.X: the per-draw mirror sync …
theaustinayers Nov 26, 2026
5259083
Merge upstream pull request #2385: D3D12.X: sampled textures go witho…
theaustinayers Nov 26, 2026
b09acbc
xcl run: a pack's compute pipelines are prepared by worker processes
theaustinayers Nov 26, 2026
78ea660
Merge upstream pull request #2377: Recompiler: split-wave64 one-wave …
theaustinayers Nov 26, 2026
fd984f9
Merge upstream pull request #2547: D3D12.X: with XCL_PSO_WAIT_MS set,…
theaustinayers Nov 26, 2026
626459d
xcl run: the preparation screen counts each pass by itself, and every…
theaustinayers Nov 26, 2026
4eb70f0
Merge branch 'wm18/pr2547' (upstream pull request #2547 on the fork's…
theaustinayers Nov 26, 2026
90981d5
D3D12.X: XCL_ZERO_SAMPLER_LINEAR=1 makes the zero sampler linear (a d…
theaustinayers Nov 26, 2026
7657686
Revert "Merge branch 'wm18/pr2547' (upstream pull request #2547 on th…
theaustinayers Nov 26, 2026
fbfac4d
Recompiler: an S# set before a branch is a static sampler after it
theaustinayers Nov 26, 2026
81c0cff
Revert "Merge upstream pull request #2385: D3D12.X: sampled textures …
theaustinayers Nov 26, 2026
2cbdd4d
Revert "Merge upstream pull request #2437: D3D12.X: the per-draw mirr…
theaustinayers Nov 26, 2026
e877812
xcl run: the preparation takes the shaders earlier runs used, or none
theaustinayers Nov 26, 2026
7686758
Revert "Recompiler: an S# set before a branch is a static sampler aft…
theaustinayers Nov 26, 2026
82e4a9b
Recompiler: an S# set before a branch is a static sampler after it, i…
theaustinayers Nov 26, 2026
ce86b00
D3D12.X: drop CreatePlacedResourceX alias table once logged and avoid…
Decodere Nov 26, 2026
48bc9f1
D3D12.X: a depth plane twin is copied around the title's UAV transitions
theaustinayers Nov 26, 2026
7a3ac94
D3D12.X: a UAV of a depth plane can be a view of its R32 or R16 twin
theaustinayers Nov 26, 2026
bb91001
D3D12.X: a target dump names the pipelines that drew into each target
theaustinayers Nov 26, 2026
4fb0e81
D3D12.X: XCL_DUMP_TARGETS follows 3D textures and reads small ones back
theaustinayers Nov 26, 2026
e243c68
D3D12.X: the 3D texture dump reads back up to 256 textures
theaustinayers Nov 26, 2026
b59d263
D3D12.X: a 3D render target keeps off the pages of the title's next t…
theaustinayers Nov 26, 2026
5ce291f
D3D12.X: a target dump lists the frame's compute pipelines and their CS
theaustinayers Nov 26, 2026
8411da1
Recompiler: XCL_DEBUG_CS_SUB replaces text in one compute shader's HLSL
theaustinayers Nov 26, 2026
bde97c5
D3D12.X: switches to keep, poison and count the GPU-view tiles
theaustinayers Nov 26, 2026
83bb343
xcl run: one preparation worker builds a pipeline, the others leave it
theaustinayers Nov 26, 2026
1b8884c
Merge branch 'wm20/views' into wm17/prs
theaustinayers Nov 26, 2026
773f028
D3D12.X: record the graphics pipelines a run uses with their state
theaustinayers Nov 26, 2026
bca429e
xcl run: build the graphics pipelines earlier runs used before the title
theaustinayers Nov 26, 2026
f2b125d
Merge branch 'wm21/prebuild' into wm17/prs
theaustinayers Nov 26, 2026
af2cecc
Merge the fork's nvidia-dev into the work branch
theaustinayers Nov 26, 2026
c2b4fd6
D3D12.X: a target dump's kept shaders and their writer serve other dumps
theaustinayers Nov 26, 2026
b85c316
D3D12.X: XCL_CAPTURE_FRAME writes one frame's command stream to disk
theaustinayers Nov 26, 2026
4f451a0
Merge branch 'wm22/capture' into wm17/prs
theaustinayers Nov 26, 2026
fa61e10
D3D12.X: any texture of unknown console size keeps off its neighbours…
theaustinayers Nov 26, 2026
a44abe0
D3D12.X: test switches for the views of acceleration structures and r…
theaustinayers Nov 26, 2026
231c4f1
xcl run: preparation workers count the commit left in MiB, not bytes
pr1sm-dev Nov 26, 2026
6f1f557
GPU: walk a console top level and its bottom levels for what rays can…
theaustinayers Nov 26, 2026
28b9d37
Merge branch 'pr-2578' into wm17/prs
theaustinayers Nov 26, 2026
add8616
Merge branch 'pr-2542' into wm17/prs
theaustinayers Nov 26, 2026
ba6b879
D3D12.X: ask the GPU views for all a ray traversal of a structure reads
theaustinayers Nov 26, 2026
555af91
Merge commit 'ba6b879b' into wm17/prs
theaustinayers Nov 26, 2026
4589628
D3D12.X: XCL_BVH_EMPTY points the shaders at an empty structure of XCL's
theaustinayers Nov 26, 2026
c0258dc
D3D12.X: a registry of live placements, and XCL_PLACE_CHECK=1 to log …
theaustinayers Nov 26, 2026
3cc5f9b
Revert "Merge branch 'pr-2578' into wm17/prs"
theaustinayers Nov 26, 2026
b678536
Merge commit '45896282' into wm17/prs
theaustinayers Nov 26, 2026
7af6e54
D3D12.X: a DispatchX with thread dimensions launches whole groups
KDenKC Nov 26, 2026
5d00b39
D3D12.X: a placement over other pages of a live target supersedes it
theaustinayers Nov 26, 2026
1ebe6db
Merge commit '5d00b390' into wm17/prs
theaustinayers Nov 26, 2026
3292b09
kernelx: physical page homes keep out of window 0 while windows 1+ ha…
theaustinayers Nov 26, 2026
206469e
Memory: the Series S profile keeps its own coherent window sizes
theaustinayers Nov 26, 2026
12758ed
Recompiler: leave the lanes past a dispatch's thread limit out of EXEC
theaustinayers Nov 26, 2026
f9bcafd
Recompiler: direct DXIL compute leaves the lanes past a thread limit out
theaustinayers Nov 26, 2026
4a848be
Merge branch 'wm26/threadmask' into wm17/prs
theaustinayers Nov 26, 2026
7a7e161
Tests: wait for late release before checking released pipelines are gone
inf1425 Nov 26, 2026
6b2691e
Tests: some_ranges in texture_upload wraps its generator instead of o…
inf1425 Nov 26, 2026
9b455a1
Recompiler: split wave64 LDS reads wait for the other half's writes
theaustinayers Nov 26, 2026
67a08db
Recompiler: split wave64 LDS writes wait for the other half's reads
theaustinayers Nov 26, 2026
d360233
Recompiler: S# words from s_bfm and a 64-bit literal move are constants
theaustinayers Nov 26, 2026
2331f2e
Tests: a console MS in the AS slot is refused by its MS translation
MarcosMDev Nov 26, 2026
3c4891d
Shaders: a title's preparation workers build split programs' whole forms
joeypercia Nov 26, 2026
e133a09
D3D12.X: XCL_GPU_TIMES logs the GPU time per program of a few frames
theaustinayers Nov 26, 2026
7253d5b
D3D12.X: stencil views get a uint T# format, so shaders load them as …
MacieGx Nov 26, 2026
5506ab1
D3D12.X: XCL_TWO_PASS_BATCH=1 halves the barriers of two-pass draws
theaustinayers Nov 26, 2026
9ddd2fe
D3D12.X: fence-quarantine released shared descriptor ranges
itsSio Nov 26, 2026
9d3dccb
D3D12.X: XCL_TWO_PASS_BATCH=2 defers runs of two-pass draws
theaustinayers Nov 26, 2026
f43cab2
D3D12.X: deferred two-pass runs go on across SetPipelineState
theaustinayers Nov 26, 2026
eb784bc
D3D12.X: time the rest of a submit and who holds the sparse lock
theaustinayers Nov 26, 2026
3c1a475
D3D12.X: XCL_SUBMIT_LOCK_FIRST=1 lets submits have the sparse lock first
theaustinayers Nov 26, 2026
986b44a
D3D12.X: XCL_SPLIT_SPARSE=cpu updates sparse windows after CPU waits …
theaustinayers Nov 26, 2026
8cf249e
D3D12.X: pack sparse pool tile reuse into the fullest heap
itsSio Nov 26, 2026
accee0a
D3D12.X: mesh stage views reach 1 MiB by default
theaustinayers Nov 26, 2026
4ac7558
D3D12.X: tiles asked for at a submit are filled within 1024 MB, not 16
theaustinayers Nov 26, 2026
ea0698d
xcl run: the start menu asks which console XCL is to the game
theaustinayers Nov 26, 2026
eae0150
xcl run: the console menu's button texts on one line each
theaustinayers Nov 26, 2026
9d967cf
Tests: sparse tests take CI's Basic Render Driver for a software device
DzXAnt22 Nov 26, 2026
71b7629
D3D12.X: anchor XCL_LOOK_SKIP per frame and clear CLOSED on list rese…
Decodere Nov 26, 2026
4922e39
D3D12.X: instrument submitting-thread call breakdown under XCL_LOOK_S…
Decodere Nov 26, 2026
6efa82f
Shaders: separate Series S and Series X used manifests
itsSio Nov 26, 2026
237b718
Memory: keep single-window sparse_reserve allocations inside one window
Decodere Nov 26, 2026
f9362ed
PE loader: a title's CLZERO loops run as native code on a CPU without…
Prime1997 Nov 26, 2026
7716b4c
D3D12.X: a build the title already draws without waits for half the c…
Prime1997 Nov 26, 2026
20e38b0
D3D12.X: an indirect dispatch does not build a split program's whole …
Prime1997 Nov 26, 2026
f3cd0a5
D3D12.X: the sparse windows' line counts mapped tiles the CPU never w…
Prime1997 Nov 26, 2026
33c18fa
D3D12.X: the activity log says who holds the target pages
Prime1997 Nov 26, 2026
d24b425
D3D12.X: XCL_SPARSE_LAZY=1 gives a committed sparse-window tile video…
Prime1997 Nov 26, 2026
42ae605
D3D12.X: reclaim two-pass buffers on submit fence completion
coolpersonnn Nov 26, 2026
9ae803e
D3D12.X: size two-pass indirect buffers from GPU feedback and finer b…
coolpersonnn Nov 26, 2026
fb35a75
Merge pull request #2897 from Prime1997/contrib/nv-sparse-lazy
Prime1997 Nov 26, 2026
71b9f7b
Merge pull request #2896 from Prime1997/contrib/nv-target-page-owners…
Prime1997 Nov 26, 2026
7e63fc6
Merge pull request #2892 from Prime1997/contrib/nv-clzero-native-loops
Prime1997 Nov 26, 2026
3eca291
Merge pull request #2894 from Prime1997/contrib/nv-late-build-half-he…
Prime1997 Nov 26, 2026
eff3bca
Merge pull request #2893 from Prime1997/contrib/nv-indirect-whole-off…
Prime1997 Nov 26, 2026
85360b6
D3D12.X: split sparse readback spin and submission out of STATE lock
Decodere Nov 26, 2026
a2c10b4
D3D12.X: cap two-pass buffers by DXGI headroom with wait and shrink
coolpersonnn Nov 26, 2026
96dfa76
D3D12.X: slice direct mesh draws within the record cap
coolpersonnn Nov 26, 2026
ecc0bb5
Recompiler: the thread-limit GPU test builds its HLSL wave32 form as …
theaustinayers Nov 26, 2026
db0780c
D3D12.X: a texture level that lost its texels gives its pages back
Prime1997 Nov 27, 2026
0c83784
D3D12.X: a level giving its pages back drops their keys in one pass
Prime1997 Nov 27, 2026
a5e2d85
Merge pull request #2927 from Prime1997/contrib/nv-level-pages-given-…
Prime1997 Nov 27, 2026
f058e4e
D3D12.X: DRED is switched on before the process's first device
throny Nov 27, 2026
8d36887
D3D12.X: coherent UMA windows in a driver heap at the title's address…
Kalmarv Nov 26, 2026
bf42a6e
D3D12.X: segments parked as spares stop holding their PC allocator
Kalmarv Nov 27, 2026
dbaa3b2
D3D12.X: XCL_UMA_DRIVER=mixed keeps part of the coherent window in VRAM
Kalmarv Nov 26, 2026
b3d6312
D3D12.X: XCL_UMA_DRIVER=mixed applies to the first coherent window only
Kalmarv Nov 27, 2026
39557fa
D3D12.X: a console buffer across two segments of a mixed window takes…
Kalmarv Nov 27, 2026
8c3f1d1
D3D12.X: back to 64 KiB mesh stage views and a 16 MB fill a submit
theaustinayers Nov 27, 2026
e0821b1
Merge remote-tracking branch 'origin/nvidia-dev' into wm17/prs
theaustinayers Nov 27, 2026
4e52050
D3D12.X: empty shader slots keep a two-pass mesh pipeline's cache key
treybertram06 Nov 27, 2026
2fc61b6
D3D12.X: XCL_UMA_DRIVER=mixed falls back without GPU_UPLOAD heaps
Kalmarv Nov 27, 2026
da9c69f
D3D12.X: XCL_UMA_UPLOAD_PRIORITY=1 keeps a mixed window's GPU_UPLOAD …
Kalmarv Nov 27, 2026
7bf0510
D3D12.X: XCL_DUMP_TARGETS notes the shaders of console mesh pipelines
theaustinayers Nov 27, 2026
6f8ccb4
D3D12.X: a dumped target lists up to 48 pipelines, not 12
theaustinayers Nov 27, 2026
3f39671
D3D12.X: tiles asked for at a submit are filled within 256 MB, not 16
theaustinayers Nov 27, 2026
24fdb7b
D3D12.X: XCL_SMALL_TEXTURES=1 puts small sampled textures on 4 KiB pl…
Kalmarv Nov 27, 2026
d1be810
Docs: relicense XCL to GPL-3.0-or-later (#3002)
ivall Nov 27, 2026
7c30acb
D3D12.X: run whole split-PSO builds on one late worker without pc_call
saintwolf Nov 26, 2026
1051db2
Tests: the split compute test's piece limit leaves room for the threa…
MarcosMDev Nov 26, 2026
6f3ad70
D3D12.X: stencil, topology and scissor sets go into deferred two-pass…
Kalmarv Nov 27, 2026
161d884
Merge pull request #3003 from Kalmarv/nvd-p1-coherent-driver-heap
raylitebull Nov 28, 2026
e8d723f
Merge pull request #3004 from Kalmarv/nvd-p2-park-spares
raylitebull Nov 28, 2026
7d6c62d
Merge pull request #2790 from MacieGx/d3d12x/stencil-view-uint
raylitebull Nov 28, 2026
6e8bb25
Merge pull request #2636 from Decodere/fix-device-x-note-alias-leak-a…
raylitebull Nov 28, 2026
f8de0bf
Merge pull request #1911 from Kalmarv/atomic-operand-use
raylitebull Nov 28, 2026
5222a80
Merge pull request #2837 from DzXAnt22/tests-sparse-basic-render-driver
raylitebull Nov 28, 2026
de58ff9
Merge pull request #2788 from MarcosMDev/tests-ms-in-as-slot
raylitebull Nov 28, 2026
80086b6
Merge pull request #2770 from inf1425/tests/late-release-waits
raylitebull Nov 28, 2026
d40554e
Merge pull request #2854 from MarcosMDev/tests-thread-limits-on-gpu
raylitebull Nov 28, 2026
5e70e0b
Merge pull request #2705 from pr1sm-dev/prep-workers-mib
raylitebull Nov 28, 2026
5f12282
Merge pull request #2794 from joeypercia/shaders-worker-whole-forms
raylitebull Nov 28, 2026
d9574b9
Merge pull request #2860 from itsSio/shaders/nvidia-dev-profile-used-…
raylitebull Nov 28, 2026
430960f
Merge pull request #2768 from Decodere/ws8-part3-look-skip-per-frame-…
raylitebull Nov 28, 2026
e33081b
Merge pull request #2886 from Decodere/fix-sparse-reserve-single-window
raylitebull Nov 28, 2026
86bd36a
Merge pull request #2975 from treybertram06/nv-two-pass-mesh-key
raylitebull Nov 28, 2026
7950c28
Merge pull request #2815 from coolpersonnn/ws2/two-pass-fence-reuse
raylitebull Nov 28, 2026
45557be
Merge pull request #2816 from coolpersonnn/ws2/two-pass-feedback-sizing
raylitebull Nov 28, 2026
56964ef
Merge pull request #2817 from coolpersonnn/ws2/two-pass-budget-fallback
raylitebull Nov 28, 2026
3e956c3
Merge pull request #2902 from coolpersonnn/d3d12x/slice-mesh-draws-un…
raylitebull Nov 28, 2026
23fb987
Merge pull request #3036 from Kalmarv/nvd-two-pass-state
raylitebull Nov 28, 2026
33e089a
Merge pull request #2967 from throny/dred-before-first-device
raylitebull Nov 28, 2026
71a3335
Merge pull request #2921 from saintwolf/fix/pso-whole-worker-queue
raylitebull Nov 28, 2026
ba2a45f
Merge pull request #2729 from Decodere/ws8-part1-submitter-api-cost-b…
raylitebull Nov 28, 2026
ba9d1f9
Merge pull request #2749 from Decodere/ws8-part2-sparse-lock-split
raylitebull Nov 28, 2026
14292a3
Merge pull request #2782 from itsSio/d3d12x/nvidia-dev-console-heap-q…
Prime1997 Nov 28, 2026
814298b
Merge pull request #2898 from itsSio/d3d12x/nvidia-dev-pack-sparse-pools
Prime1997 Nov 28, 2026
c536d81
Merge pull request #3005 from Kalmarv/nvd-p3a-mixed
Prime1997 Nov 28, 2026
e48e74c
Merge pull request #2771 from inf1425/tests/texture-upload-lcg-overflow
Prime1997 Nov 28, 2026
b3e6761
D3D12.X: preserve barriers carrying console hint flags
Prime1997 Nov 28, 2026
3ec566f
Merge pull request #3006 from Kalmarv/nvd-p3b-mixed-fallback
Prime1997 Nov 28, 2026
d526cbf
Merge pull request #3007 from Kalmarv/nvd-p4-upload-priority
Prime1997 Nov 28, 2026
01b94f5
Merge pull request #3008 from Kalmarv/nvd-small-tex
Prime1997 Nov 28, 2026
54225f5
Merge pull request #3090 from Prime1997/codex/gdkx-barrier-flags
Prime1997 Nov 28, 2026
f0e8fdd
Merge nvidia-dev (54225f58) into main (10d27297)
Kalmarv Nov 28, 2026
1b4117b
Tests: build the lib tests on the merged tree
Kalmarv Nov 28, 2026
dc76394
Tests: follow-ups to the merge from the first full suite run
Kalmarv Nov 28, 2026
adccb7d
D3D12.X: XG CopyInto/FromSubresource take the newer library's added a…
lukastaro Nov 24, 2026
5eb4838
Merge main (5b711248) into the nvidia-dev merge
Kalmarv Nov 28, 2026
daae033
Recompiler: 2-D and 3-D compute groups take the direct DXIL route again
Royalflamejlh Nov 28, 2026
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
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 41 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ A gamepad is recommended ([Controls](#controls)). The game folder is never modif
|---|---|---|---|
| **Shader recompiler** | ✅ | RDNA2 → HLSL → DXIL: VS, PS, CS, mesh (NGG), GS; atomics, LDS, scratch, images, samplers incl. static ones, wave ops, ray-tracing instructions; structured control flow; parallel DXC, disk cache | 26 698 / 26 698 programs of the retail pack; 0 DXC errors on random samples; per-instruction GPU tests |
| **Pipelines** | ✅ | PSOs from console shaders: VS+PS, CS, MS+PS, VS+GS+PS; root signature with the shaders' static samplers; non-blocking creation – a pipeline whose shaders are not compiled yet gets a stand-in at once and is built in the background | GPU tests drawing the game's own VS / PS pairs, also built in the background |
| **D3D12.X compute** | ✅ | console device slots, console descriptor heaps (T# / V# / S#), buffers at their console addresses, compute command lists recorded in the console format and replayed (tables, barriers, clears, copies) | the game's BVH builder and FSR 4 record and run through XCL |
| **D3D12.X compute** | ✅ | console device slots, console descriptor heaps (T# / V# / S#), buffers at their console addresses, compute command lists recorded in the console format and replayed (tables, barriers with console flag translation, clears, copies) | the game's BVH builder and FSR 4 record and run through XCL |
| **D3D12.X graphics** | ✅ | device, resources and heaps (also placed in title memory), pipelines; the title's graphics command lists – draws, indirect draws, graphics root arguments, barriers, copies, clears – and command lists recorded by console code, replayed; `PresentX` and frame pacing into an XCL window | Minecraft Preview plays its worlds (millions of draws, none skipped); Fortnite and XDefiant draw their screens |
| **Textures** | ✅ | GFX10 tiling (all 14 2D swizzle modes, the 6 3D thick modes, linear), mip chains with mip tail, arrays, cubes and 3D textures → PC textures; supported GPU-written title subresources copy back before their writer queue's title fence becomes visible | 912 / 912 entries detiled in the tested retail archive; GPU upload bit exact in test fixtures |
| **Ray tracing** | ✅ | BLAS / TLAS built on the GPU by the game's own XboxBvhBuilder; RDNA2 BVH node format; BVH intersection instructions emulated in shaders | GPU traversal = brute force reference; the game's builder output checked on the GPU |
| **Ray tracing** | ✅ | BLAS / TLAS built on the GPU by the game's own XboxBvhBuilder; RDNA2 BVH node format; BVH intersection instructions emulated in shaders, with misses for nodes outside mapped memory windows | GPU traversal = brute force reference; the game's builder output checked on the GPU |
| **Upscaling** | ✅ | the game's AMD FSR 4 console DLL (`amd_fidelityfx_upscaler_xbox.dll`): context, the 29 pipelines in the console driver's own container (FSPX) translated, a frame's 20 passes recorded and run on the GPU | end-to-end with the real DLL: a 1280×720 → 1920×1080 frame on an RX 9070, the input's gradient in the output |

Far-jump address calculations are resolved to fixed targets only when branches enter at the start of the calculation.
Expand Down Expand Up @@ -263,6 +263,14 @@ xcl shaders D:\data\shaders.rpf --measure-pso HEX --repeat 3 # cold driv
xcl rpf D:\data\shaders.rpf --extract NAME --out folder
```

Fill the reusable DXIL cache ahead of a run with the read-only package wrapper. Add
`-Pipelines` to warm the GPU driver's compute-pipeline cache too (slower and GPU/driver-specific):

```powershell
.\scripts\precompile-shaders.ps1 -Package 'D:\data\shaders.rpf'
.\scripts\precompile-shaders.ps1 -Package 'D:\data\shaders.rpf' -Pipelines
```

<details>
<summary><b>Switches, caches, logs and the files XCL writes</b></summary>

Expand All @@ -272,6 +280,7 @@ xcl rpf D:\data\shaders.rpf --extract NAME --out folder
With presentation disabled, preparation runs without a window. A staged corpus still gates
launch when the null renderer is selected. For an unstaged title set `XCL_PREPARE=0`
to skip startup preparation, or `XCL_PREPARE_GRAPHICS=0` to skip optional graphics history.
Under Series S (`lockhart`) the usage manifests and graphics history use `-lockhart` file names.
`XCL_PREPARE_HISTORY_PRESENT=N` instead prepares at most 500 compute and exact graphics/mesh
pipelines used through present `N` in the previous `XCL_PSO_MANIFEST=1` recording. Graphics
recipes need a recording made by a build that writes their exact identity; older recordings
Expand Down Expand Up @@ -337,6 +346,10 @@ xcl rpf D:\data\shaders.rpf --extract NAME --out folder
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.
- 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
the memory cap is tight. Each slice keeps the draw's original mesh group IDs.
- Translated shaders are reused across XCL rebuilds when the translator sources and DXC
toolchain are unchanged; `XCL_TRANSLATED_CACHE=0` disables that disk cache.
Loading a cached shader without split pieces reuses the file buffer, avoiding a second
Expand All @@ -349,7 +362,10 @@ xcl rpf D:\data\shaders.rpf --extract NAME --out folder
`XCL_DIRECT_SPLIT_INSTRUCTIONS` sets the target instructions per piece (default 12500,
zero disables splitting). Loops stay in one piece. A strongly connected component over the
target gets its own piece, up to four times the target. Larger components and indirect
dispatches use the whole pipeline.
dispatches use the whole pipeline. A chained dispatch runs in slabs of groups that share one
scratch buffer of at most `XCL_SPLIT_SCRATCH_MB` (default 256); the chains of one recording
share it, and `XCL_SPLIT_SCRATCH_TOTAL_MB` (default 384) bounds what all recordings not yet
reset hold together (past it a dispatch runs in smaller slabs).
- Huge pipelines (translated DXIL of `XCL_HUGE_PSO_BYTES` or more, default 262144) built on the
background `xcl-pso*` workers take turns in the driver's compiler: `XCL_HUGE_PSO_CONCURRENCY`
at once (default 1, maximum 64). Pipelines of 4 MiB or more use a separate one-wide lane so
Expand All @@ -365,6 +381,13 @@ xcl rpf D:\data\shaders.rpf --extract NAME --out folder
On AMD, cold 128–256 KiB compute pipelines use a separate lane (three background / four
wanted at once on hosts with at least 32 GiB RAM, two / three below that), configurable with
`XCL_MEDIUM_PSO_CONCURRENCY` and `XCL_MEDIUM_PSO_WANTED_CONCURRENCY`.
- A loop in a translated compute program run by a Dispatch (not ExecuteIndirect) is ended
after its dispatch's share of passes for each entry (between 1024 and 65 536 a thread, fewer the
more threads the dispatch has; the direct DXIL translator ends the thread's program there), so
one that runs away does not hold the GPU past the time Windows gives it. The direct
translator's compact form (programs of 20 000 instructions and more) and `XCL_PER_LANE` keep
only the thread's 65 536 passes in all. `XCL_DISPATCH_LOOP_BUDGET=0` leaves every loop the
thread's 65 536 passes, as before (to compare).
- With `XCL_DRED=1`, a D3D12 device removal logs GPU breadcrumbs in `xcl.log`.
XCL examines up to 4,096 command lists and reports up to 64 unfinished lists, starting with
those on which the GPU completed at least one operation. For each, it names the translated
Expand All @@ -375,6 +398,10 @@ xcl rpf D:\data\shaders.rpf --extract NAME --out folder
- `XCL_DSTORAGE_PARALLEL_DECOMPRESS=1` enables parallel CPU decompression for file-backed zlib
requests with virtual destinations. Defaults: four workers and a shared 32 MiB staging budget
(`XCL_DSTORAGE_WORKERS`, `XCL_DSTORAGE_MEMORY_BUDGET_MIB`). Requests retire in queue order.
- The queue's page mappings (`CopyPageMappingsBatchX`: a title maps the pages its texture streaming
fills into its GPU views) are applied: a GPU-view page shows the physical page mapped into it.
`XCL_PAGE_MAPPINGS=0` turns them off (the call is ignored and a GPU-view page shows its CPU view at
the same offset, as before).
- Every run writes `report.json` (called stubs, unknown D3D12.X slots and interfaces, XGameRuntime
classes asked for, shader statistics, audio formats, crash).
`d3d12.presents` counts presentations, not visible content. With `XCL_FRAME_DUMP=N` (`N > 1`),
Expand All @@ -383,6 +410,17 @@ xcl rpf D:\data\shaders.rpf --extract NAME --out folder
(decoded 8-bit R+G+B > 30). The field is `null` until a frame is sampled; `non_dark_samples` is
`null` if its format cannot be decoded. Intermediate render-target dumps do not update it.
Sampling uses every fourth pixel in each direction (`XCL_FRAME_DUMP_FULL=1`: every pixel).
`XCL_DUMP_TARGETS=<draws>[,<frames>]` logs, for the first frames with that many draws and dispatches,
each render target and the depth buffer drawn into (draws ran / stand-in / PC / skipped) and dumps
the eight drawn into most (`target<k>_<n>.bmp`); `XCL_DUMP_AFTER_S=<s>` waits `s` seconds first.
`XCL_CAPTURE_FRAME=<draws>[,<s>]` writes the command stream of the first frame with that many draws
and dispatches (`s` seconds after the first present at the earliest) to `capture_<frame>/` next to
the log: `frame.jsonl` (every submit, barrier, copy, clear, draw and dispatch in the order the GPU got
them, with render targets and root arguments), `resources.jsonl`, `pipelines.jsonl`, the pipelines'
shaders translated again and `summary.txt`. Every frame is recorded until then, which costs time.
`XCL_GPU_TIMES=<frames>[,<s>]` times every draw and dispatch of the next `frames` busy frames (from
`s` seconds after the first present) with GPU timestamps and logs the 60 programs that took the
most GPU time per frame (`D3D12.X: GPU times:` lines); the times are coarse, fine for ranking.
A coarse sample can miss detail; a non-dark sample does not establish correct rendering or gameplay.
With `XCL_STALL_TRACE=1`, `report.json` also contains versioned aggregate counts, total/max time and
log2-nanosecond histograms for coarse runtime stalls, plus a bounded list of the newest spans of at
Expand Down
1 change: 1 addition & 0 deletions crates/xcl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ retour = "0.3"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "1"
windows-core = "0.62"

[dependencies.windows]
version = "0.62"
Expand Down
2 changes: 1 addition & 1 deletion crates/xcl/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::process::Command;
// `pso.rs` also contains cache storage and pipeline setup. Keep it out of the source hash so
// those changes do not discard translations; bump this only when its container parsing,
// translation options, profiles, or post-translation HLSL changes.
const TRANSLATION_GLUE_REVISION: &str = "pso-glue-v4";
const TRANSLATION_GLUE_REVISION: &str = "pso-glue-v5";

const TRANSLATOR_SOURCES: &[&str] = &[
"src/gpu/dxbc.rs",
Expand Down
18 changes: 18 additions & 0 deletions crates/xcl/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,24 @@ mod tests {
}
}

/// The Series S profile changes the title memory budget only: unified memory (`uma_mb`, the
/// window plan's size) is the memory mode's, the same as a Series X run's in that mode.
#[test]
fn the_series_s_budget_leaves_unified_memory_as_it_is() {
let manifest = crate::manifest::Manifest {
anaconda_memory: Some("Advanced".into()),
lockhart_memory: Some("Advanced".into()),
..Default::default()
};
let resolved = |device: &str| {
let mut c = Config { device_type: device.into(), ..Config::default() };
c.resolve(Some(&manifest));
(c.title_memory_mb, c.uma_mb)
};
assert_eq!(resolved("anaconda"), (13_824, 4095));
assert_eq!(resolved("lockhart"), (8_192, 4095));
}

#[test]
fn raytracing_tier_parsing() {
assert_eq!(parse_raytracing_tier("auto"), None);
Expand Down
Loading
Loading