Files
mandy/docs
SuarezPM fdf4d29955 Translator: use the FSSM pixel-input table in the PS input path (SHADER-15)
AI-assisted (fixer lane, orchestrated). tools/fssm_header.py already decoded the pixel-input table; rdna2spirv.py ignored it.

- PS translate() reads the fssm/<name>.fssm sidecar (same convention as CS) and declares every table position 0..count-1 as a fragment input at that Location, including positions the code never reads.
- A 32-bit v_interp read (p1/p2/mov) of a 16-bit-flagged position (flag bit 4) is rounded f32->f16->f32; *_f16-opcode reads already narrow and are unchanged; reads past the table still declare; no sidecar (or empty table) is byte-identical to the old path.
- shader_meta() records ps_interpolants (count) and ps_fp16_interpolants (flagged positions).
- docs/design.md: contract-table row with corpus measurements and the fixture confirmation (synthetic + mini_interp, no GPU).

Verified: tests/test_rdna2spirv_pixelinput.py 9 passed (synthetic FSSM blobs + hand-written listings, empty DXBC; no llvm-mc/spirv-tools/GPU/game data); full suite 1066 passed + 366 subtests on the dev branch; compileall + make_game --help green. Claimed as SHADER-15 in #156 before starting.
2026-11-21 19:15:52 -03:00
..

Documentation

These notes record what has been measured in the local Xbox Series package and what is still open. The headline counts are the measured numbers at the time of the note; the linked page has the method, scope and caveats. No game data is included.

Start here

Document What it covers
design.md Overall project design, asset status, translator contract and open blockers.
related_projects.md Prior art we may read and the licence boundaries on it.
rpf.md RPF9 archive layout, the carve tools and the unreadable encrypted TOC.

Archives and assets

Document Measured content
models.md 155,598 models exported to OBJ with bounds, shader index and material keys.
textures.md 308,895 TTPF textures exported; 48,220 skips, mostly BCPack.
animation.md 130,470 anim.rpf streams, 95.4% readable; 1,126 rig sets / 6,677 source-to-rig entries / 3,669 rigs.
navmesh.md 90,295 navmeshes.rpf streams, 97.5% readable; 0DRP pages, no navmesh-specific magic.
bvh.md 565,596 core_bvh4.rpf streams; 271,627 BVH4 streams and 269,106 instances, prebuilt acceleration data.
rbf0.md 1,263 RBF0 resources, 475,461 elements; UI/Scaleform definitions, not a sectioned container; strict JSON/CSV/XML tree decoder.
gamedata.md common.rpf: 954 streams, 266 XML documents / 118 roots; 0 RBF0/PSIN.
world.md levels.rpf placement: 9,918 map files / 680,228 entities measured in 55% of the archive (lower bound; estimate 16k-39.6k / 1.03M-2.64M); 0x7a resource layout.
world_census.md Full levels.rpf pass: 23,535 maps / 1,670,442 entities, 98.32% stream coverage, sharded and exact.
page_directory.md RPF9 0DRP: 0x60-byte header, q38 16-byte records; 15,768 pages / 60,880 records in data.rpf; targets and sizes, names still TOC-only.
psin.md PSIN metadata container: header, section walk, 671 streams in the script.rpf carve.
story.md story000.rpf 18.65 GiB mixed: 264 Bink 2 streams / 3.33 GB, 225,281 RSC8 headers, 442 nested RPF9; story000_script PSIN, shared_minigame mixed content.
restofworld.md Six rest-of-world/script archives, 1.57 GB total: core_restofworld 1.21 GB (11 Bink 2, 37 models, 958 graphics pages), story000_script PSIN, small appdata0/licences.
movies.md Bink 2 streams and audio tracks; decode through the real loader and Bink2Scarlett.dll.

Audio

Document Measured content
audio.md AWC banks: Opus, PCM and XMA2; lossless Ogg Opus repack and WAV paths.
audio_config.md The music/radio record table: 1,589 records, exact durations, AWC stream ids; no start offsets.
radio_stations.md Audio-config station blocks: 19 records, boundary u32, content-id lists; VCRR 80/80 mapping; no start offsets.

Runtime, GPU and validation

Document Measured content
d3d12_vulkan.md Xbox D3D12 to Vulkan plan and status; device proxy, queues, command lists, barriers, copies.
d3d12_xs_surface.md The 116-slot d3d12_xs.dll export surface; 83/83 standard GUIDs match the PC SDK.
d3d12_command_objects.md Measured command queue/list/fence/PresentX surface; verified vs prior art vs open.
runtime_imports.md The 16 shipped modules' measured imports and shim/host/unimplemented split.
pipeline_check.md Driver-level corpus check: 10/12 shards, 22,092 modules, 2,217 compute pipelines, 0 failures.
shader_validation.md Differential CPU/GPU validation design and the current CPU interpreter prototype.
fssm_crosscheck.md FSSM/RDNA2 facts cross-checked against SCARAB; code starts at code_off + 0x28.