Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
429 commits
Select commit Hold shift + click to select a range
fb55e49
Direct DXIL: leave a group barrier of several hardware waves to the H…
theaustinayers Nov 25, 2026
d4624b7
D3D12.X: give shader-visible sampler heaps a PC sampler at every index
theaustinayers Nov 25, 2026
d76f040
D3D12.X: remember the tiles a thread asked for in GPU views, not exac…
theaustinayers Nov 25, 2026
f303e07
D3D12.X: keep a compute pipeline's driver blob from a 20 ms build on
theaustinayers Nov 25, 2026
1be95b1
Direct DXIL: one split console wave of a compute or mesh group exchan…
theaustinayers Nov 25, 2026
e4d897c
D3D12.X: size two-pass record buffers in powers of two and keep freed…
theaustinayers Nov 25, 2026
3d18ebc
Memory: size the coherent window from what the heaps setting puts in it
theaustinayers Nov 25, 2026
23336dd
D3D12.X: a view slot that gets no room in the shared heap names the n…
theaustinayers Nov 25, 2026
05399f7
D3D12.X: count two-pass buffers made, taken again, let go and alive
theaustinayers Nov 25, 2026
a2883d8
D3D12.X: XCL_CS_PSO_WAIT_MS limits a dispatch's wait for its pipeline
theaustinayers Nov 25, 2026
9554f33
Memory: let freed sparse pool tiles cool for 2 s before they are reused
theaustinayers Nov 25, 2026
2385fb2
D3D12.X: give back page pool heaps of title textures that came free
theaustinayers Nov 25, 2026
2ccc646
D3D12.X: build compute pipelines of new shaders ahead of their first use
theaustinayers Nov 25, 2026
337c309
D3D12.X: frame and target dumps decode HDR and data formats at their …
theaustinayers Nov 25, 2026
d9e904d
D3D12.X: log the sparse queue's tile mapping calls every 2 s
theaustinayers Nov 25, 2026
02a834a
D3D12.X: say in the log when the shared view heap passes 50, 75 and 90 %
theaustinayers Nov 25, 2026
32a56af
D3D12.X: cap the bytes of two-pass buffers alive (XCL_TWO_PASS_MB)
theaustinayers Nov 25, 2026
15be322
D3D12.X: keep a small compute program's slow-build blob on disk
theaustinayers Nov 25, 2026
dc545ad
Memory: keep uma_coherent.txt in the format earlier builds read
theaustinayers Nov 25, 2026
76969bc
Memory: retire sparse pools whose last tiles cooled at a submit that …
theaustinayers Nov 25, 2026
baae29a
D3D12.X: let no freed two-pass buffer go for room it cannot make
theaustinayers Nov 25, 2026
296d4f8
D3D12.X: build new compute pipelines ahead on one worker at a time
theaustinayers Nov 25, 2026
d75c373
Memory: lower the stored coherent size only for the sparse heaps sett…
theaustinayers Nov 25, 2026
7493bca
D3D12.X: name the program of a late non-lazy compute pipeline too
theaustinayers Nov 25, 2026
87418ff
D3D12.X: test that a sampler heap's PC samplers past the title's are …
theaustinayers Nov 25, 2026
66718b1
D3D12.X: give back what a released allocator's ended recordings used
theaustinayers Nov 25, 2026
764987c
D3D12.X: log the two-pass bytes waiting for allocator resets
theaustinayers Nov 25, 2026
6839afb
D3D12.X: a console descriptor heap's GetDesc says what the title made…
theaustinayers Nov 25, 2026
780cd41
Merge branch 'wm4/coherent' into world-main (the coherent window size…
theaustinayers Nov 25, 2026
dd33f5d
Merge branch 'wm4/heap' into world-main (2 048 PC samplers a shader-v…
theaustinayers Nov 25, 2026
4496fb4
Merge branch 'wm4/sparse' into world-main (tile spans remembered a th…
theaustinayers Nov 25, 2026
a0871c5
Merge branch 'wm4/twopass' into world-main (two-pass record buffers s…
theaustinayers Nov 25, 2026
6681a56
Merge branch 'wm4/stall' into world-main (small compute driver blobs …
theaustinayers Nov 25, 2026
c9fe50e
D3D12.X: a thread forgets the GPU-view tiles it asked for when one is…
theaustinayers Nov 25, 2026
24615c8
Merge upstream main (1a0bbe3, 96 commits) into world-main
theaustinayers Nov 25, 2026
6ca00bc
Tests: the two-pass bind test expects the shared sampler heap beside …
theaustinayers Nov 25, 2026
839ba0b
D3D12.X: only a whole texture upload seeds the stream recheck baseline
theaustinayers Nov 25, 2026
aa3bc6b
D3D12.X: keep a retired segment's last submit when it goes to the spares
theaustinayers Nov 25, 2026
77c907c
D3D12.X: read alloc_pool's submit fences without the title's fence hook
theaustinayers Nov 25, 2026
09cf0e3
D3D12.X: a copy of a destroyed resource's view is the null view
theaustinayers Nov 25, 2026
ad7d2f4
D3D12.X: no giant driver compile of a pipeline nobody has used yet
theaustinayers Nov 25, 2026
2610a9f
D3D12.X: image-only compute builds go to the backlog, not the bind queue
theaustinayers Nov 25, 2026
1ea01ba
D3D12.X: pipeline gate comments say what a wanted build does now
theaustinayers Nov 25, 2026
3a6927c
Merge branch 'wm5/lists' into wm5/upmerge (a retired segment keeps it…
theaustinayers Nov 25, 2026
160eccd
Merge branch 'wm5/pages' into wm5/upmerge (only a whole texture uploa…
theaustinayers Nov 25, 2026
7ca1d76
Merge branch 'wm5/pipes' into wm5/upmerge (no giant driver compile of…
theaustinayers Nov 25, 2026
8b47d1d
Merge branch 'wm5/views' into wm5/upmerge (a copy of a destroyed reso…
theaustinayers Nov 25, 2026
6ff08bf
D3D12.X: a partial upload re-arms the stream recheck without a baseline
theaustinayers Nov 25, 2026
c24ea8d
Tests: a parked giant build ahead leaves the new compute lane to the …
theaustinayers Nov 25, 2026
094c25b
Merge branch 'wm5/pages' into wm5/upmerge (a partial upload re-arms t…
theaustinayers Nov 25, 2026
a5c92c5
Merge branch 'wm5/pipes' into wm5/upmerge (a test of the parked giant…
theaustinayers Nov 25, 2026
5606573
Merge upstream main (379725a: the newer layout's DispatchMesh slot, p…
theaustinayers Nov 25, 2026
94df358
Tests: a title's barrier programs left to the HLSL path translate and…
theaustinayers Nov 25, 2026
0d0a452
Recompiler: no translated disk cache while XCL_SAFE_BARRIER is set
theaustinayers Nov 25, 2026
6e1903b
D3D12.X: the driver watch logs a long call and holds lists only for a…
theaustinayers Nov 25, 2026
685cf9c
Recompiler: leave a split geometry pass with an ES phase to the HLSL …
theaustinayers Nov 25, 2026
439253e
D3D12.X: the watch's report starts no build and names what it can
theaustinayers Nov 25, 2026
0aee098
D3D12.X: GPU-view asks left out are not counted; forgets lose no ask
theaustinayers Nov 25, 2026
de57fe4
D3D12.X: the memory line carries the video memory budget
theaustinayers Nov 25, 2026
f85ef6b
Tests: the frame dump test's undecoded frame uses a format none decodes
theaustinayers Nov 25, 2026
e0a1b4a
D3D12.X: a frame dump copy that is not done in 2 s is a warning
theaustinayers Nov 25, 2026
b850d2e
D3D12.X: one present's target dump reads back 1 GiB at most
theaustinayers Nov 25, 2026
e9ccada
Tests: check the split exchange's barriers, counters and mesh layouts
theaustinayers Nov 25, 2026
b329f20
Recompiler: say which split exchanges still meet at a group barrier
theaustinayers Nov 25, 2026
6b0d7b0
D3D12.X: the stop file's 12 s line times the device check from its la…
theaustinayers Nov 25, 2026
db862c9
D3D12.X: a target cut by the dump's readback cap is not logged as dumped
theaustinayers Nov 25, 2026
f592729
Merge branch 'wm6/sparse' into world-main (tile asks left out are not…
theaustinayers Nov 25, 2026
d316a3a
Tests: the held-submit test sees its thread run before it checks the …
theaustinayers Nov 25, 2026
340dc9f
Tests: translate split geometry with a title's memory windows
theaustinayers Nov 25, 2026
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
7d9e811
xcl run: prepare supported shader records before starting the title
bmjask Nov 25, 2026
22eb6f2
Recompiler: an S# word written with s_brev_b32 is a constant too
Prime1997 Nov 25, 2026
defe7ef
D3D12.X: show shader preparation in the presentation window
bmjask Nov 25, 2026
5bec587
Scripts: allow shader preparation time before the smoke guest timer
bmjask 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
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
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
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
e133a09
D3D12.X: XCL_GPU_TIMES logs the GPU time per program of a few frames
theaustinayers Nov 26, 2026
5506ab1
D3D12.X: XCL_TWO_PASS_BATCH=1 halves the barriers of two-pass draws
theaustinayers 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
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
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
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
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
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
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
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.

50 changes: 48 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ A gamepad is recommended ([Controls](#controls)). The game folder is never modif
| **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 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 | 909 / 912 retail textures exact (the 3 volume LUTs decode smooth); GPU upload bit exact |
| **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 @@ -229,9 +229,30 @@ 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>

- When a game folder contains a `shaders.rpf` shader pack or loose `.dxbc` files under
`shaders/`, XCL shows shader preparation in the game window before executing title code.
The same window then presents the game. The percentage counts
processed records. The timer counts seconds since one finished (or preparation started);
five seconds without progress counts as a stall, and the window shows when the last one ended.
XCL prepares supported shader stages and compute pipelines, including
split pieces and their whole fallback. Graphics pipelines are created during play the first
time; the ones a run used are recorded with their state (`used-graphics-pipelines.bin` beside
the shader cache, at most `XCL_GFX_RECORDS_MB`, default 64) and built before the title starts
on the next launch, with their driver blobs kept, so the title makes them from those in
milliseconds. `XCL_PREPARE_GRAPHICS=0` leaves that pass out. Later launches reuse matching cache entries.
Closing the window cancels the launch. A compiler or driver failure stops it and reports
the cause. Null-renderer runs skip shader preparation. With presentation disabled, the gate runs without a window.
- For compute shaders that XCL can split, the runtime first tries the saved driver blob for
the whole shader. A usable blob lets the GPU run it in one dispatch. If the blob is missing
or the driver rejects it, XCL builds the split pieces.
Expand Down Expand Up @@ -267,7 +288,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 @@ -280,6 +304,13 @@ xcl rpf D:\data\shaders.rpf --extract NAME --out folder
`XCL_PSO_TRACE=1` logs every driver compile. A huge compute program the driver refuses is
logged with the driver's verdict (`the driver refused the compute PSO of record HASH … with
0x…`): its dispatches are skipped.
- 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 @@ -288,6 +319,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 @@ -296,6 +331,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.
- **Diagnostics for a bug report** (all off by default; set them in the environment of `xcl run`):
- `XCL_RUN_SECONDS=n`: the title ends itself after `n` seconds, with the GPU drained and
Expand Down
2 changes: 2 additions & 0 deletions crates/xcl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ retour = "0.3"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "1"
windows-core = "0.62"

[dependencies.windows]
version = "0.62"
Expand All @@ -44,6 +45,7 @@ features = [
version = "0.61"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_Diagnostics_Debug",
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 @@ -415,6 +415,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