Device method 0x218 (and 0x1c8): raw-code compute pipelines — description layout from dumps #7
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from realblastex/flamingo. Originally posted by BestBlade89 on 2026-11-27T13:28:17Z.
<html>
Summary
On my runs the title calls device method
0x218more than 2048 times (and0x1c8about 16 times). Both still returnE_NOTIMPLindevice.rs(unknown_pipeline), so the title goes without those pipelines. I dumped the descriptions withFLAMINGO_DUMP_RAW_PIPELINESand worked out most of the0x218layout. It is not a container: it hands over raw GFX10 code plus metadata in a format other than FSSM.Setup: Windows 11, RX 7800 XT 16 GB (also seen on an RTX 4060 Ti 8 GB),
--console series-s,VICTORY_LEVELS_ON_DEMAND=1. Same 29 warnings on every run.Visible effect (likely, not proven): characters' faces and skin render dark and speckled (blue/purple noise) in cutscenes. The
0x218programs look like texture post-processing / mip generation (see below), so skin and detail textures may never get finished.0x218 description: 12 words (0x60 bytes) per pipeline
The title passes a pointer into an array. The 96-word dump of call n holds the descriptions of calls n…n+7, so the stride is 12 words.
Register block (0x1c bytes)
Identical in all 16 dumped calls except one word:
0x402c0343/…45: looks likeCOMPUTE_PGM_RSRC1(FLOAT_MODE0xc0, DX10_CLAMP, VGPR granule 3 or 5).0x00000b8a: looks likeCOMPUTE_PGM_RSRC2. Decoded withComputeIo: 5 user SGPRs, TGID x/y/z, thread ids in v0–v1, no LDS, no scratch.00080008 00000001: thread group 8×8×1.Code (call 1, hand-decoded)
code=in the warning listsimage_sample_l+ 1/2/3/4 ×image_store, with no exports. It reads one level and writes up to 4, which looks like a mip-chain generator.Metadata block
Header
0x403, size, …(5 words), then 0x20-byte records. Call 1 (1 output):Call 2 (2 outputs) adds one
0x41/0x303record (off0x10, id0x18) and one0x42. The sampler moves to off0x18. Each output adds a UAV to the table.The sampler offset in the record (
0x10dwords =0x40bytes) matches thes_load_dwordx4 … 0x40in the code, soofflooks like the descriptor's dword offset in the table.Possible implementation
Build a synthetic FSSM (one
Csrecord) from these pieces and send it down the normalcreate_compute→translatepath:ComputeIo { rsrc2: word 6 of the register block, threads: [x, y, z] }layout: oneRootParam { root: Table, user_data: 4, slot: ? }used: oneUsedResourceper0x41record (0x300→ Srv,0x303→ Uav,0x302→ Sampler,table_offset_dwords = off)The open question is the root slot. The root signature in word 0 keeps its serialized blob (
root.rs), so its parameters can be read back with the host deserializer. With a single descriptor table, slot = that parameter.0x1c8 (graphics, not analysed in depth)
A different layout. The first words are root, then
(ptr, len)pairs:0x184,0xbc, code0x200,0xd0, code0x200,0xb0. Two stages, small pixel programs (image_sample+exp, 15–48 instructions).I can upload the dumps (770 files, 16 calls of each method) if that helps.
</html>Imported from realblastex/flamingo. Originally posted by realblastex on 2026-11-29T03:22:57Z.
Thank you, this is very good work. It matches what our own runs show: the same 29 warnings on every run,
0x218programs of the mip-chain form (image_sample_land one to fourimage_store), a few long ones with buffer stores, and0x1c8programs that end inexp.Building a synthetic container with one compute record and sending it down the normal
create_computeand translate path is the approach we would take too. It keeps one translator and one cache. On the root slot: the root signature in word 0 keeps its serialized blob, so reading its parameters back with the host deserializer and taking the one descriptor table, as you suggest, should work. When there is more than one table, the record'suser_data(4 in your dumps) can pick the parameter.Please do not attach the dumps here. They hold the title's own machine code, which the asset policy keeps out of the repository and its issues. The layout you wrote up is what we need. A pull request along these lines would be welcome; its tests should build their descriptions from synthetic data, as the other tests do.
Whether these programs are behind the dark, speckled skin is not proven, as you say. Once they run, the same cutscene before and after will tell.