Note: the console pipe configuration differs between Series S and X

The console's texture layout library takes the hardware version and lays
textures out differently for Series S and X, so the still-unknown pipe /
packer configuration of the XOR swizzle modes has to follow the device
type XCL reports.
This commit is contained in:
ivall
2026-11-21 19:44:38 +01:00
parent ea98a6bd61
commit 972c589601
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -603,6 +603,10 @@ Console GPU addresses in unified memory are the title's own: memory operations g
chain, and answering it made that crash now and then.
- `XMemVirtualAlloc(address, size, type, XALLOC_ATTRIBUTES, protect)` (kernelx; also found by name for `xmem.dll`
imports): a graphics memory type allocates in unified memory, as MEM_GRAPHICS. It was a stub returning null.
- Public Series S research (SystemOS side, CS-Unit "XboxSeries-Archive"): the texture layout library takes the hardware
version (Series S vs X) and lays textures out differently for each – so `texture::CONSOLE_PIPES` (still unknown, only
the _X modes need it) must be found per console and follow what `XSystemGetDeviceType` reports (Anaconda by default,
Lockhart with the Series S setting). The rest of that write-up is the system partition, not the title's.
- Looked at (independent projects, only facts taken): GDKScarlett (Xbox One `d3d12_x` titles, GCN shaders; its
PIX / AcpHal / mfplat stubs answer what XCL's automatic stubs already answer) and SlimEra (XDK-era kernelx:
Era* / Etx* functions – no GDK title seen importing them).
+2 -1
View File
@@ -16,7 +16,8 @@ use windows::Win32::Graphics::Direct3D12::*;
/// Pipes / packers of the console's GB_ADDR_CONFIG – only the XOR (_X) modes depend on it.
/// Not known yet (to be found on an _X texture from the game); the non-XOR modes the
/// archives use do not need it.
/// archives use do not need it. Series S and X differ (the console's layout library takes
/// the hardware version): the value has to follow the device type XCL reports.
pub const CONSOLE_PIPES: PipeConfig = PipeConfig { pipes_log2: 0, pkrs_log2: 0 };
/// Linear data of one subresource: `depth` slices (3D, else 1) of `rows` rows of `row_bytes`