37 Commits

Author SHA1 Message Date
Claude c858190dde testgame-mw: no unit-test harness
The crate has no tests, and with the GNU toolchain (x86_64-pc-windows-gnu) the empty
harness keeps the raw-dylib import of kernelx.dll: the exe cannot start and
`cargo test --workspace` fails on it (the MSVC linker drops the unused import). The DLL
itself is built by `cargo build --workspace` as before.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019twRmXSjLgBbFAokwc63ad
2026-11-23 21:45:30 +00:00
ivall 5d6829e6dd Merge pull request #41 from grahamster2/adapter-select
Run the GPU tests on any adapter: XCL_ADAPTER, mesh-shader check, the test title's device from d3d12_xs
2026-11-22 22:37:10 +01:00
ivall 912bb5d128 Test title: what the retail games do, as checks anyone can run; readback buffers may use the kept room
Three new checks in the test title (cargo build --workspace; cargo test
--workspace – no game files, a D3D12 GPU):
- a top-level window made with CreateWindowExW or CreateWindowExA of the
  console's ntuser API sets is the hidden 1920x1080 console screen (tool
  window, no frame, cloaked); the functions come through GetProcAddress,
  as an import of the same name would be bound to user32 by the linker;
- console descriptor heaps stay in window 0 after an 8 GiB + 4 MiB
  graphics reservation (one title's first allocation);
- committed textures past the coherent room are still created, a render
  target with a console-only flag bit too, and a readback buffer made
  after them gets coherent memory.
Without the fixes of acbbc55 and 4de9016 the second and third fail (a PC
descriptor heap; E_INVALIDARG for the render target).

The third found a gap: committed textures leave 128 MB of the coherent
window for readback heaps and buffers, but these asked for 128 MB of
headroom on top of their own size – with the textures at the limit every
readback buffer went to the sparse windows. They now leave 16 MB free.
2026-11-22 22:12:37 +01:00
raylitebull afaf413f25 Sparse VRAM: async ring-buffered uploads, cached write-watch ranges, and coherent headroom
Follow-up to PR #40 addressing the two remaining issues noted after merge:

1. Sparse window upload & write-watch overhead (XDefiant ~10 GB in 55 s):
   - Replace per-submit synchronous staging + wait_idle() in d3d12x::sparse with an asynchronous 64 MiB ring staging buffer, 16 upload command allocators/lists, a reusable Win32 fence event, and a dedicated 1 MiB pre-zeroed tile-clear buffer (zero CPU stall on uploads; title queues GPU-wait on the upload fence as before).
   - Unify mapped tile tracking into per-tile TileEntry (pool tile + u16 hole bitmask + lazy per-page sent hashes) backed by FxHashMap, replace the serial chunk hash with a 4-way parallel hash + compile-time ZERO_HASHES, and scan directly into a reusable dirty-run scratch buffer without per-page Vec/Box allocations on zero pages.
   - Batch UpdateTileMappings by pool heap with contiguous run merging in map_tiles/unmap_tiles, and eliminate per-run COM AddRef/Release clones in upload loops.
   - Cache watch_ranges in title_textures keyed by atomic generation counters (sparse mapped tiles, textures, graphics reservations), reuse thread-local GetWriteWatch/dirty buffers, merge contiguous sparse windows in Uma::watch_regions(), and skip refresh on empty ExecuteCommandLists(0, null).

2. Coherent Window 3 headroom (complementing bb9f0b5's COHERENT_KEPT for textures):
   - Stop blanket-routing D3D12_HEAP_TYPE_CUSTOM + D3D12_CPU_PAGE_PROPERTY_WRITE_BACK heaps and non-COPY_DEST buffers to coherent Window 3 (on Xbox UMA, CUSTOM+WRITE_BACK is general CPU-cached graphics memory); route them to sparse VRAM and spill oversized/excess readback allocations to sparse VRAM once coherent headroom reaches COHERENT_KEPT, while tracking SPARSE_READBACK so Map(0, NULL, ...) still syncs GPU writes back automatically.
   - Pack small AllocateUploadMemory (#148) calls into the command list Arena and route large ones to sparse VRAM instead of burning 64 KiB coherent grains per call.
2026-11-22 21:34:53 +01:00
ivall acbbc55974 Sparse VRAM: keep window 0's descriptor range out of the title's memory
Window 0 kept its top 512 MB for 32-bit descriptor heaps only against
XCL's own allocations. XDefiant reserves 8 GiB + 4 MiB first thing, more
than windows 1..2 hold; the reservation fell back to the start of window
0 and took all of it, no console descriptor heap could be made ("no room
in UMA") and every frame was black.

The descriptor range is now the 512 MB after window 0's first 64 KiB
(which stay unused: a console address of 0 reads as null). Reservations
and graphics allocations never take it, and the title still gets one
contiguous 11.5 GiB range. Tested with Minecraft, Unicorn Overlord,
Fortnite and XDefiant.
2026-11-22 20:59:37 +01:00
Graham Calihan 303194520a Test title: take the device from d3d12_xs.dll, not the system's d3d12.dll
The title declared D3D12CreateDevice and D3D12SerializeRootSignature as
raw-dylib imports from d3d12_xs, but the windows crate imports the same
two functions from d3d12.dll and the linker kept that one: `xcl inspect`
on the built title shows `d3d12.dll: 2 Windows` and no d3d12_xs import.
So the title called the system's D3D12CreateDevice for the default
adapter. D3D12 returns one device per adapter, so this was XCL's device
as long as XCL used the default adapter too, and the D3D12.X checks
passed. On a different adapter the title got a device XCL had never
adopted: console shaders without a fallback, no IDXGIDevice, no placed
title memory, and an access violation in D3D12Core.dll (5 of the
title's D3D12.X checks failed).

The title now looks both functions up in d3d12_xs.dll with
LoadLibrary / GetProcAddress, which XCL serves from its HLE module.
2026-11-22 14:48:05 -05:00
raylitebull 4a8344cc3f Route D3D12 buffer heaps, XMem graphics memory, and descriptor heaps to sparse VRAM 2026-11-22 20:30:03 +01:00
ivall 550d979b01 Minecraft's create-world screen: helper lanes of other quads, unread VS inputs, PLS drive
The Ore UI create-world screen had white dashed bands along the diagonal and the
edges of its image and text quads. Renoir's pixel shader reads its draw type with
v_readfirstlane after s_wqm. The first lane of EXEC is often a helper lane on a
primitive's edge, and before SM 6.7 a wave read of another quad's helper lane is
undefined (0 in practice), so the wave's other quads drew the solid type-0 quad.
rla now takes such a lane's value with a quad read inside its own quad, then a
wave read from a live lane of that quad. This applies to every pixel shader.

Also, all general:
- An ISG1 input the vertex shader never reads gets no fetch-shader VGPRs
  (fetched_registers). Counting one put every vertex of the UI draws on one
  point, so the create-world screen drew nothing.
- A placed texture that is larger on the PC than its console (XG) size gets
  memory of its own instead of failing; Minecraft ended with 0xC0000409.
- Persistent local storage is a drive root (S:\, a default mount onto
  {data}\pls), as on the console, and GetDiskFreeSpace(Ex)A/W answer for
  console paths. Minecraft no longer reports very little free space.
- The previous run's xcl.log and report.json are kept as *.prev.*.

Diagnostics (env vars): XCL_TRACE_SHADERS / XCL_TRACE_MANY (draws of chosen
shaders with root arguments and their vertices at the present), XCL_FRAME_DUMP_FULL,
XCL_DEBUG_PS_SUB / PS_EXPR / MAGENTA / LOD0, XCL_DEBUG_NO_STENCIL / NO_CULL, and
XCL_PRESS_AT for scripted controller presses.

README: Discord link and a table of the games that run.
2026-11-22 17:37:54 +01:00
ivall 1903ff6876 No Xbox Live tokens by default: titles take their offline paths
XUserGetTokenAndSignature(Utf16)Async now fails with 0x80072EFD, as it
does on a console that cannot reach Xbox Live. Set xbox_live_tokens = true
in xcl.toml to get XCL's local placeholder token back, which only a backend
of your own accepts.

Before this, Minecraft sent the placeholder to PlayFab, was refused, and
showed its "Microsoft account - connecting" dialog forever. It now shows its
offline message once (code "jasnoglaz") and stays in the menu. Fortnite
(RTA) and XDefiant (people hub, presence) behave as before.

Token requests are logged. Unit tests cover the offline default, and the
test title now expects no token.
2026-11-22 14:54:23 +01:00
ivall 3a8bc96a18 Fortnite reaches its splash screen: TLS slot 0, deferred texture uploads, console heaps and resources, merged ES+GS
- Run from <Game>/Binaries/XSX: the package root is the folder above whose
  MicrosoftGame.config names the exe.
- XMemGetWorkingSetStatistics writes only the limit and the use (the structure
  differs between GDK versions; zeroing 0x78 bytes broke EOSSDK's stack cookie).
- The title's executable takes TLS slot 0, as a process's executable has it
  (code built with /GA reads it without _tls_index); xcl.exe's TLS moves.
- Command queue #23 SignalX.
- Title textures: the first upload waits for the title's next submit and all
  uploads go in batches (one list, one wait); XCL's own submits do not refresh;
  close write-watch ranges are scanned as one. The render thread no longer stalls
  in CreatePlacedResourceX (UE's garbage collector ended the game after 10 s).
- CreateHeap and CreatePlacedResource (#29) with console flags / layouts retried
  the PC's way.
- Merged ES+GS of older kits: an ES program ends with s_setpc_b64 into the GS.
- end_title suspends the title's threads before releasing its fences (a running
  title reset command allocators the GPU still ran: device hang at the end).
- Diagnostics: stack-cookie failures reported with the function, the CRT's
  invalid-parameter handler, first-chance C++ exceptions of title code,
  THREADNAME_INFO, XCL_THREAD_DUMP_AT (unwound stacks), XCL_ACTIVITY.
- HANDOFF: Fortnite's state (splash screen; the login is an Xbox Live sign-in).
2026-11-22 12:24:17 +01:00
ivall 7e740386fc Merge pull request #23 from raylitebull/list-x-extensions
KickoffX (#93), Wait32/64BitValueX (#71/#72), RSSetDepthBiasX (#94). Conflicts with main resolved (console slots and PC overrides united; ExecuteCommandLists keeps the per-queue title-memory refresh). KickoffX resets the PC list mid-recording: it now also restores what the Reset clears and console code had set (descriptor heaps, topology, viewports, scissors, blend factor, stencil ref, vertex buffers, render targets) - on the console a kickoff leaves the list's state as it was; without the heaps a translated draw after it would read garbage descriptors.
2026-11-22 11:15:03 +01:00
raylitebull 0fb82c65bb D3D12.X & GPU: raytracing SRVs, 64-bit multi-window BVH traversal, and title-list BVH builder slots
- Encode RDNA2 BVH descriptors (desc::bvh_words) for RAYTRACING_ACCELERATION_STRUCTURE SRVs in console descriptor heaps instead of zeroing the slot when pResource is NULL, and preserve them across descriptor copies.
- Fix image_bvh64_intersect_ray to use the full 64-bit node pointer (including vaddr[1]) and 48-bit BVH base address when selecting UMA memory windows, so BVH nodes above 4 GiB (including sparse title windows) resolve cleanly.
- Fix axis-aligned grazing rays (0 * inf = NaN) and reject NaN/inverted child boxes in both HLSL bvh_intersect and CPU bvh::intersect_node; add console prebuild_size and compressed-header helpers.
- Wire XboxBvhBuilder.dll command list slots #146 (global UAV barrier) and #148 (AllocateUploadMemory in UMA) into default title command lists (and size extended vtables to cover all console slots).
- Add configurable CheckFeatureSupport(D3D12_OPTIONS5) RaytracingTier reporting (config.raytracing / XCL_RAYTRACING: auto, tier1_1, tier1_0, off) with one-time tier logging in real and null backends.
- Add unit, multi-window GPU, and testtitle end-to-end tests.
2026-11-22 01:21:06 +01:00
raylitebull 3dfbcfbde7 d3d12x: implement KickoffX, Wait32/64BitValueX, and RSSetDepthBiasX 2026-11-22 00:17:54 +01:00
ivall d82829c163 Merge pull request #22 from raylitebull/mfplat-reset-dxgi
# Conflicts:
#	tests/testtitle/src/main.rs
2026-11-21 23:53:39 +01:00
ivall 72bb284022 Merge pull request #21 from raylitebull/dstorage-enhancements
DirectStorage: submitted cancellation, intermediate_size, and physical-page destinations
2026-11-21 23:53:28 +01:00
ivall 0f16f5937a Merge pull request #20 from raylitebull/xma2-decoder
XAudio2: pure-Rust XMA1/XMA2 audio decoder
2026-11-21 23:50:39 +01:00
raylitebull e89985fa52 XGameRuntime & advapi32legacy: UE4 startup, login, and hotfix parity 2026-11-21 23:41:35 +01:00
raylitebull 6a27beb714 HLE: implement mfplat.dll!MFResetDXGIDeviceManagerX with system fallback 2026-11-21 22:56:06 +01:00
raylitebull 6abe17d620 DirectStorage: submitted cancellation, intermediate_size, and physical-page destinations 2026-11-21 22:56:01 +01:00
ivall e555b87c07 XDefiant: the first stops on the way in; more console shader kernels
From runs of the user's XDefiant dump (each was a stop of the title after a
failed D3D12 call):
- D: is mounted on the game folder by default (d:\hunter\...); new default
  mounts are merged into existing configs;
- the title's unhandled-exception filter goes behind XCL's; crash records
  have all registers, the vtable module of the objects they point at and
  the callers on the stack;
- CheckFeatureSupport with the console's larger structures (D3D12_OPTIONS
  0x40 bytes) is retried with the PC size;
- device #25 GetResourceAllocationInfo called the C way (return buffer
  first) no longer writes over the device;
- the DMA list has its own vtable: Close #9, Reset #10, CopyBufferRegion
  #11, CopyTextureRegion #12, CopyResource #13, CopyTiles #14;
- the PC runtime writes its vtable into a copy list on Reset: XCL's is put
  back;
- device #27 CreateCommittedResource from console code: buffers and
  textures in unified memory (the title clears a texture through its GPU
  address).
It now stops where the title's inline D3D12.X code writes graphics records
into the command list object. Diagnostics: XCL_WATCH_DEVICE / XCL_WATCH_DMA
(hardware write watchpoints), XCL_D3D12_DEBUG (debug layer messages into
the log).

Console shader kernels: local arrays indexed per lane, switch in nested
loops, 16-bit floats and integers (11 kernels, all the same as the PC).
2026-11-21 22:49:58 +01:00
raylitebull 6da1947ece XAudio2: pure-Rust XMA1/XMA2 decoder 2026-11-21 22:30:28 +01:00
ivall fd746622e9 Physical pages mapped into reserved address space
Fortnite streams textures by reserving graphics address space and mapping
physical pages into it, which XCL refused. A graphics reservation is now
Windows address space reserved with MEM_WRITE_WATCH and remembered; a page
(number = UMA page index + 1, 0 = unmap) lives in its allocation's UMA
block, and mapping pages at another address, in any order, commits it and
copies their data there - unmapping or mapping them elsewhere copies it
back, so a page keeps its contents and is in one place at a time.

Textures placed in such memory read only the committed pages and are
uploaded again after the mapping and the writes (the reservations are
watched like unified memory).

Tests: reverse-order mapping, moving, unmapping and remapping a page
(xmem); a texture placed in an empty pool shows its texels once a page is
mapped in and written (GPU).
2026-11-21 21:28:26 +01:00
ivall bdae5a4f88 D3D12.X: textures in title memory follow it
CreatePlacedResourceX of a texture gets a PC texture kept in step with
the title's memory: every mip and slice detiled with the console's layout
(hle::xg) and uploaded at creation, and uploaded again before the next
ExecuteCommandLists once the CPU wrote any of its pages - unified memory
is now reserved with MEM_WRITE_WATCH and one GetWriteWatch per window
finds them.

The test title writes a 64KB_S_X texture array through XG, places it at
its address, reads every subresource back through the GPU, rewrites one
and sees the new texels after the next ExecuteCommandLists.
2026-11-21 21:22:54 +01:00
ivall a379e6858c Console DirectStorage (xcrdapi.dll)
DStorageGetFactory -> IDStorageFactoryX with the console's vtable order
and structure layouts (queue desc 0x18, request 0x48, error record 0x290,
queue info 0x1C): queues of file or memory requests, status arrays,
fence signals, error event and record, Query.

A worker thread per queue runs the submitted requests in order: file
reads through the VFS, memory copies, zlib; status entries get the first
failure since the previous one, signals set the D3D12 fence from the CPU,
a half-full queue submits by itself. BCPack and other console formats
are refused.

Tests: request checks, a memory queue inflating zlib with a refused
request in the status and the error record; the test title reads the
start of its own executable through a file queue and waits on the
fence.
2026-11-21 20:41:58 +01:00
ivall f81441ad09 Fortnite's console imports: xmem statistics and physical pages, IID data, DXC
From the list of the 31 console-library functions Fortnite (Series)
imports:
- XMemGetWorkingSetStatistics fills the 0x78-byte statistics (+0 title
  limit, +8 used) instead of failing; XMemTransferMemory succeeds
- XMem{Allocate,Map,Free}PhysicalPages on the title physical pages
- IID_ID3D12Device as a data export of d3d12_xs
- dxcompiler_xs.dll / dxcompiler_x.dll: the PC DXC

Nested occlusion queries: Fortnite nests its per-object queries in a
dummy outer one, so the inner ones are now the real queries and the outer
one ends early and resolves as visible.

Test title: xmem imports from xmem.dll; the nested query check expects
the inner query's real count.
2026-11-21 19:53:53 +01:00
ivall 3f68644c5e D3D12.X device as IDXGIDevice; XMemVirtualAlloc
Microsoft's GDK samples reach the display output for SetFrameIntervalX
through the device: device -> IDXGIDevice1 -> GetAdapter -> EnumOutputs.
A PC D3D12 device answers E_NOINTERFACE there; a small IDXGIDevice / 1 / 2
object now answers with the device's real adapter (by LUID), every other
interface staying the device's.

XMemVirtualAlloc (kernelx, also found by name for xmem.dll imports) was a
stub returning null: a graphics memory type now allocates in unified
memory.

The test title takes its output the samples' way and allocates through
XMemVirtualAlloc.
2026-11-21 19:40:21 +01:00
ivall 2ff23c3fe3 D3D12.X: nested occlusion queries
The console allows occlusion queries to nest; the PC allows one active
per list. One begun while another is active is not sent to the PC: the
outer one counts on (its result stays exact), the inner one resolves as
visible, written over the resolved data. List Reset forgets the active
queries.

The test title nests occlusion queries at the console slots and checks
the outer count against a single draw's.
2026-11-21 19:30:00 +01:00
ivall eddf5a7c9b D3D12.X: the console command list's own methods
From slot 60 on the console list holds its extensions; a title call there
no longer runs the PC method at that index.

- CopyMemoryToMemoryX, FillMemoryWith{32,64,128}BitValueX and the
  Write{32,64}BitValue{Top,Bottom}OfPipeX family on unified memory (the
  window buffers), GPU timestamps through a timestamp query
- DispatchX, DrawIndexedX (the bound index buffer comes back),
  CopyResourceX, SetPredicationBufferX, depth bounds
- IASetIndexBuffer (#47) translates title addresses
- other extensions: a logged no-op
- test title: memory operations and indexed draws on its own memory
2026-11-21 19:24:59 +01:00
ivall 50688d5a43 D3D12.X: CreateDerivedPipelineStateX
Device #55 creates a pipeline from a base pipeline's description with
patched parts: { u32 part; payload } at a 0x14C stride, parts 0-3 =
depth-stencil, rasterizer, blend state, sample mask (part 5 ignored).

Title graphics pipelines (#10, #60 and derived ones) keep their desc with
the input layout copied; the shaders stay the title's and are checked by
hash before deriving. The test title draws with a #60 pipeline and one
derived from it with a blend patch.
2026-11-21 19:13:44 +01:00
ivall d5703bf6f2 D3D12.X: the console device's own methods
From slot 44 on the console device's vtable holds its extensions; a title
call there no longer runs the PC method at that index.

- CreatePlacedResourceX (#44): buffers at title addresses in unified
  memory are placed in that memory (GPU VA = the address)
- CreateCommandQueueX (#48) / CreateCommandListX (#73) and #8 / #9 / #12:
  the DMA type and list IID, console queue priorities
- graphics PSO X (#60), CreatePipelineState (#86), CreateSamplerX (#61),
  GetCopyableFootprints (#38) and command signatures (#41) with console
  descs, descriptor heap type 4
- SetDebugFlagsX, pipeline (de)serialisation, page pools; any other
  extension slot is a logged S_OK stub
- test title: a DMA copy of a buffer placed at its own graphics memory
2026-11-21 19:05:20 +01:00
ivall 861869f585 D3D12.X command lists in the console's vtable layout
The console ID3D12GraphicsCommandList keeps PC slots 0-27 and 56-59, puts the query methods
right after ExecuteBundle (28-31 = PC 52-55) and so has SetDescriptorHeaps ... DiscardResource
4 slots later (32-55 = PC 28-51); List1 sits at 104-109 (PC 60-65), the shading-rate methods
at 124 / 125. XCL gave titles the PC layout, so e.g. the console SetDescriptorHeaps (#32) ran
PC SetGraphicsRootDescriptorTable. Layout as observed on Fortnite's RHI call sites; it agrees
with FSR4's ClearUnorderedAccessViewUint at #53.

- real::console_remap: title calls at a console slot run the PC method (with XCL's own
  overrides); the runtime keeps the PC entries.
- The test title calls the console layout (SetGraphicsRootSignature #34, OMSetRenderTargets
  #50, ClearRenderTargetView #52) – the triangle still renders and reads back.
- HANDOFF: PresentX, frame pacing and the command list layout.
2026-11-21 18:47:53 +01:00
ivall 5a5c32b977 PresentX and console frame pacing
- Command queue #30 PresentX(planeCount, planes, parameters): plane 0's first resource is
  presented in XCL's window at once (the back-buffer guessing stays as a fallback until a
  title's first PresentX); the plane's frame token counts as flipped.
- Device #78-#81 SetFrameIntervalX / ScheduleFrameEventX / WaitFrameEventX /
  GetFrameStatisticsX (hle/d3d12x/frame.rs): a frame clock thread (high-resolution waitable
  timer) signals the origin semaphore / frame events and the title's ancillary handles;
  origin waits hand out frame tokens; statistics give origin and flip times.
  Slots, arguments and return codes as observed on Fortnite.
- Console slots beyond a class's public PC methods: inside the runtime's internal entries
  the title gets the console method and the runtime keeps its own (make_split), past them
  the console method alone. Before, only slots below the public count were replaced.
- The test title runs the whole path (frame clock, origin token, PresentX of a cleared
  640x360 back buffer, statistics); e2e checks the frame was presented.
2026-11-21 18:43:13 +01:00
raylitebull c3b10f104a XAudio2: real Opus decoder via Windows MSOpusDecoder MFT
- Add hle::opus: RFC 6716 TOC/packet parser (exact Table 2 frame durations for
  all 32 configs, codes 0-3, 120 ms limit), RFC 7845 OpusHead parser/builder,
  framing extractor (Ogg Opus, [u16 LE len][pkt] blocks with zero padding, raw
  packets), and stateful Decoder backed by dynamically loaded mfplat.dll +
  MSOpusDecoder.dll (1-2 ch single-stream and 3-8 ch multistream via RFC 6716
  Appendix B self-delimited splitting).
- Wire Opus voices (WAVE_FORMAT_OPUS 0x704F and WAVE_FORMAT_EXTENSIBLE with
  MFAudioFormat_Opus) in hle::xaudio2 to decode to PCM16, wrap
  IXAudio2VoiceCallback to manage decoded buffer lifetimes and forward the
  title's original pBufferContext, flush decoder state on FlushSourceBuffers,
  and map tokens back in GetState.
- Add AudioStats counters (opus_voices, opus_buffers_decoded,
  opus_decode_errors), unit tests covering SILK/Hybrid/CELT/5.1/framing/lifetime,
  and an Opus voice check in tests/testtitle + e2e.
2026-11-21 17:26:36 +01:00
ivall 98d32ecc65 Translate the repository to English: comments, log/error/CLI messages, tests, docs, HANDOFF
Text only (1771 lines changed one for one); tests that compare output text updated with it.
2026-11-21 15:01:20 +01:00
ivall 77aefa5b9d Settings from the game's MicrosoftGame.Config: PLS quota, SMT, title memory mode
- manifest.rs reads PersistentLocalStorage/SizeMB, SMTEnabled and the Anaconda/Lockhart
  title memory mode; the launcher resolves the 'auto' config settings from them
- PLS quota from the manifest; with SMT the title sees its VM's 14 logical processors
  (7 without), processor numbers and affinity masks folded onto the PC's processors
- 'Advanced' title memory: 4 GB of unified memory; the TitleMemoryStatus budget stays
  the standard one (Advanced figures are not public), overridable in xcl.toml
2026-11-21 13:31:55 +01:00
ivall 3453dd9adf Console buffers in unified memory; UAV clears and texture copies on console lists
- buffers created by console code are placed resources in the UMA heap: their console
  GPU address is the UMA address (Map returns the same memory), views get real V#
- console list #53/#54 ClearUnorderedAccessView Uint/Float and #85 CopyTextureRegion
  (signatures from the FSR4 call sites) are replayed on the PC list
- test title calls the descriptor heap start like console code (handle in rax); it had
  crashed since 7919cdc. XMA2 timing bound allows one 10 ms quantum of jitter
2026-11-21 10:42:07 +01:00
ivall 8fa7fa0fa3 Initial XCL source and TTPF viewer 2026-11-20 21:03:53 +01:00