Recompiler: a T# reached through two loads after a dynamically indexed read (pointer → pointer → T#, pointer → V# → buffer → T#) stops Ratchet & Clank (PPSA01474) and Guardians of the Galaxy (PPSA01748) #6191
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 boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-15T01:32:31Z.
With #4706, #5089, #757, #758 and #4475 merged, both titles get further on plain
mainthan before. Each now stops on a descriptor one load deeper than those PRs plan. In both, a read at areadfirstlaneindex gives a pointer. In Guardians that pointer leads to a second pointer, which leads to the T#. In Ratchet it leads to a V#, and the T# is read from that buffer at a secondreadfirstlaneindex. The error is the same,GetImageResource dword 0 is not a valid runtime value, and both stop while loading their first 3D scene.Titles: Ratchet & Clank: Rift Apart (PPSA01474 v01.005.003) and Marvel's Guardians of the Galaxy (PPSA01748 v01.006.000).
Where they stop:
main8cd937e29, no local changes. About 8 minutes in, during the black load after the Insomniac logo. On a PC reference recording, the 3D profile-select screen comes right after this load.main411e5e6d9plus one NpManager stub for startup. It passes the menus and the intro video, then stops loading the first level.Ratchet: record pointer → V# → buffer → T#
0x1aa8reads a pointer from the SRT's V# at a waterfall index (readfirstlaneinside the loop). This is the same record table as the stop on #4706 (pc0x6340, shader0x116bb65f00). That stop now compiles.0x6b6cloads four dwords through that pointer, which form a V#.0x6b80reads the T# from that buffer at a secondreadfirstlaneindex.Guardians: constant buffer → pointer → pointer → T#
readfirstlaneof a bit field of an interpolated value). It indexes a constant buffer that holds a pointer. That pointer leads to a second pointer, and the second pointer leads to the T#.0x3b944ac00(0x94→0x118→0x144) and0x3b94d9200(0x270→0x2dc→0x328), and in0x3b94a7500/0x3b9421600on earlier heads. I reported these on #757 before it merged.0x3b91c3e00(key from anImageRead, pc0x4380) still can't be planned onmain. It is deferred and isn't the stop.What I can offer
I'm not attaching the shader requests, since they contain the titles' shader code. I can run a branch on both titles the same day and post the result, and paste more of AnyPS5's planner output for either shader.
Details
--to-intelagainst8cd937e29, 36 GiB cap. RSS was 15.3 GiB at the stop. 98 shaders with a computeds_swappc_b64target were deferred at registration and linked at use (#4706). Neither the #3274 shader (0x116bb65100) nor the #4706 follow-up shader (0x116bb65f00) failed. No PlayGo error, although the dump has no PlayGo files (see #5494).Tested and written by Claude (AI assistant) on a contributor's machine.
Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-15T01:58:54Z.
Same stop on AMD, which rules out NVIDIA and Intel. Ratchet & Clank (PPSA01474) on a Radeon Pro V620 (RADV, Mesa 25.2.8) with an EPYC 7452, relinked without
--to-intel, on plainmain8cd937e29(plus #6183's page-table change, which only affects a kernel-6.8 slowdown). About 7 minutes in it aborts with the identical chain:ReadConstBuffer@pc=0x6b80←LoadAddressU32@pc=0x6b6c←ReadConstBuffer@pc=0x1aa8at thereadfirstlaneindex. This time it's in shader0x116bb5d300, a sibling of0x116bb67b00with the same pcs.Tested and written by Claude (AI assistant) on a contributor's machine.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-15T10:02:50Z.
I checked the active #6232 patch: it covers following pointer hops from an indexed record to a T#, while the Ratchet trace appears to require treating the first indexed V# as a buffer descriptor and then planning the second dynamically indexed read. Could you share the sanitized planner output or the relevant memory metadata for the V# dwords at
0x6b6cand the descriptor read at0x6b80(and, if available, the sibling shader trace)? That should help identify a focused regression shape without including shader binaries.Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-15T20:24:16Z.
@MarcZX100 here is the Ratchet & Clank (PPSA01474) chain from the planner's point of view. It's on
main03c4cb5e7, with the program's IR printed at theGetImageResourcerefusal by a local print that isn't in any PR. The stop moves between sibling compute shaders from run to run (0x116bb67b00,0x116bb5d300,0x116bb5b700,0x116bb65f00,0x116bb66d00), always at the same pcs, so it's one routine they share. This is the0x116bb66d00program. I've written it out as a shape with the offsets the IR shows, not the dump itself.So relative to #6232's pointer → pointer → T#, Ratchet has:
0xearather than the record's dword. That's probably just register reuse on a path that never reaches pc0x6b6c, but the planner sees both values through thePhi.The printer doesn't show each load's own dword offset, only the immediates above, so I can't give the record-relative offset of
lo/hi. The V# and T# are each read as one contiguous block (x4andx8).I don't have the runtime values of the V# words at
0x6b6c, because the chain is refused before anything is materialized. If they'd help, I can add a local print at the dispatch that dumps, for a few keys: the record pointer, the 4 V# words (base, stride, num_records), and the first T# behind them, then post them with the addresses masked. The same goes for testing a branch on the title; Ratchet reaches this stop about 8 minutes in, with no input.Details
main03c4cb5e7(plus #6184, which only touches guest-memory page caching), relinked with--to-intel. Shader cache off for the dump run.GetImageResource dword 0 is not a valid runtime value; chain: ReadConstBuffer@pc=0x00006b80(GetBufferResource(LoadAddressU32@pc=0x00006b6c(GetAddressResource(Phi(Phi(ReadConstBuffer@pc=0x00001aa8(…, exit 134.APS5_DUMP_IR=<address>printed nothing for these shaders. They are deferred at registration (s_swappc_b64computed target) and prepared at use as linked programs, so the dump key doesn't match the guest address. That's why I printed at the refusal instead.s_swappccallees are linked in.Tested and written by Claude (AI assistant) on a contributor's machine.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-15T21:41:44Z.
Thanks, this narrows the Ratchet case beyond #6232: it has two independently selected keys and a V# between the first record and the T# array. The existing #6232 branch covers pointer hops from one image-table record to a T#, and explicitly leaves the second key out of scope.
A small planner/runtime fixture would help isolate the new case without the 230k-line linked shader. Could you post the four V# dwords for one valid key (base, stride, record count and any remaining descriptor word), plus the first T#'s eight dwords and the selected
key1/key2values? Masking addresses is fine if the same masked base is used consistently and the relative offsets/alignment stay intact. If the0xeaphi arm is relevant to the chain, please note whether that path reaches the load at0x6b6c.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-15T21:50:45Z.
The planner trace narrows the required case, but I still cannot make a reliable regression fixture without the values behind the V# and T# loads. Could you post the four V# dwords for one valid key, the first T# eight dwords, and the selected
key1/key2values (addresses can be consistently masked)? Please also say whether the0xeaphi path reaches the V# load. These values let me test the second independent waterfall rather than infer descriptor semantics from the 230k-line trace.Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-16T01:47:20Z.
@MarcZX100 runtime values for the Ratchet & Clank (PPSA01474) chain. I added a local print, not in any PR, at the
GetImageResourcerefusal. It evaluates the refused chain against the dispatch's user data and live guest memory. Three runs onmain5d9dcc42dall stopped here, each on a different sibling shader:0x116bb66300,0x116bb5fd00,0x116bb67b00. The layout and the V# loaded through the pointer are the same in all three.Addresses are masked with one consistent base each,
A,BandC. The low bits and every offset are real. In each V#,<…>marks the masked base bits; the stride, record count and dword 3 are as read.So the CB index uses a 16-byte record, while the buffer the T# comes from has a stride of 64 and is indexed in 32-byte steps (
key2 << 5), half a record.What I can't give you is a T# read with the title's own keys.
key1andkey2each come from areadfirstlaneinside a waterfall over lane data, and the CPU-side walk can't see those lanes. What I tried:key1 = 0gives a readable pointer B. Forkey11–3 the pointer lands on unmapped memory, so record 0 may be a different kind of entry.key1 = 0, none of the 32-byte entries atkey20–15 decodes as a T#. They hold floats (3f800000,7f7fffff) and small counters in dword 7.c0000000in dword 1 and look like offset/size records.So the textures this routine samples are behind other records, selected by lane values. For a fixture, synthetic descriptors with this layout (record stride 16, pointer at +8, V# at pointer + 0xa0, T# stride 32 inside a stride-64 buffer) should reproduce the planner case. If it helps, I can run any branch against the title the same day.
On the
0xeaarm: yes, it reaches the V# load in the control-flow graph. ThePhiat pc0x64b0takes0xeafrom the block at0x63f0..0x64b0. That value flows through the merge at0x59bc, entered from0x1ac8, just after the record read at0x1aa8, to theGetAddressResourceof the load at0x6b6c, without passing the record read again. It looks like a loop back-edge on which the register holding the pointer's low dword was reused. I can't tell from here whether the title takes that edge at run time; my print evaluated the record arm.Details
main5d9dcc42d, relinked with--to-intel. Shader cache off for these runs. Every run ends at the same refusal (exit 134) about 7–8 min in.process_vm_readvon the running process, so unmapped addresses report as unreadable instead of faulting.00005204.Tested and written by Claude (AI assistant) on a contributor's machine.
Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-17T06:37:27Z.
Checked whether #6417 (planning image tables through invariant descriptor
Phis) covers the Ratchet & Clank: Rift Apart (PPSA01474) half of this issue, since its chain goes through aPhibefore the V# load (ReadConstBuffer@pc=0x6b80(GetBufferResource(LoadAddressU32@pc=0x6b6c(GetAddressResource(Phi(…). It doesn't:mainf26eb67c8(+ #6814) with and without #6417 both stop on this chain in sibling compute shaders of the same family (0x116bb64a00without,0x116bb65100with), 5–7 minutes in, one run each. That fits the analysis above: the two keys here are selected independently, not an invariantPhi. No regression with #6417 either.Tested and written by Claude (AI assistant) on a contributor's machine.
Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-17T06:49:42Z.
The same check on the Guardians of the Galaxy (PPSA01748) key noted above (compute shader
0x3b91c3e00,LoadAddressU32@pc=0x4380):main5d9dcc42d+ #6232 + #6606 stops there 2 of 2 runs without #6417 and 3 of 3 with it, about 2–3 minutes in. So #6417 doesn't cover that one either.Tested and written by Claude (AI assistant) on a contributor's machine.
Imported from boykopovar/AnyPS5. Originally posted by ps54all on 2026-10-17T21:58:09Z.
Ratchet & Clank: Rift Apart (PPSA01474, 01.005.003) data with #7223 on top: the
GetImageResourcestop goes away, and the title then stops on the sampler of what looks like the same record.Setup: Windows 11, RTX 3080 10 GB (NVIDIA 610.74), i9-10850K, WinLibs GCC 15.2, Release. Our test branch: main
82f0c9aec+ #6946 + #6958 + a few other open picks, then #7238 and #7223 (and in the second run also #6277 and #6417). psd1 settingsAPS5_HOST_IMPORT_MIB=20480,APS5_READLANE_WRAP=1,APS5_ADDRESS_COPY_MAX_MIB=4096. One run per configuration.GetImageResource dword 0 is not a valid runtime value(ReadConstBuffer chain)0x116bb61400stage 00x116bb65300stage 0Both new stops are the same refusal:
GetImageResourcelines: 0 in both runs with #7223.GetSamplerResource: only this fatal.0x6b74, next to theLoadAddressU32@pc=0x6b6c/ReadConstBuffer@pc=0x6b80loads in the image chain @Tamalero posted above, so the sampler probably comes from the same record/V# as the T# that #7223 now resolves.LLM assistance used (Claude); runs on our machine.
Imported from boykopovar/AnyPS5. Originally posted by Capmare on 2026-10-17T23:04:17Z.
Marvel's Wolverine (PPSA03671) stops on the same chain shape as Ratchet & Clank in this issue. This confirms that the shape is not specific to one title.
The failing shader is compute shader
0x11d049aa00. It fails for both images and samplers:Shape, in the same terms as the Ratchet comments above:
Points that match Ratchet:
Phis that merge the record read at0x2454with a second loaded value (LoadAddressU32@pc=0xbbc8).Phishape above is still refused.Effect on the title: the shader writes the draw records for GPU-driven indirect draws. I replaced the refused images with a null texture and the refused samplers with a repeating bilinear sampler, only as a local diagnostic. The game then runs the intro and the loading screens. It later aborts with
INDEX_BUFFER_SIZE has not been set(Pm4.cpp, an indirect indexed draw whoseINDEX_ATTRIBUTES_INDIRECTrecord has size 0). So the substitute output is wrong, and the title needs the real chain.I can run any branch against this title and report the result. I can also dump runtime values for the record, the V# and the T# if that helps.
Details
main66702f1cfplus local patches and #7223. The local patches are not part of this issue.Tested and written by Claude (AI assistant) on a contributor's machine.
Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-18T02:23:36Z.
@Capmare, @ps54all: the sampler half of this chain is ready to try on top of #7223. Branch
feat/shader-nested-sampler-tablesis #7223's headf4549448f7plus three commits:Its tests pass on lavapipe. It hasn't run on either title or on real hardware yet. If you can run it, the things to look for are whether
GetSamplerResource dword 0 is not a valid runtime valuegoes away, and what the next stop is. The disk-cache format moves to 38, so the first run rebuilds the shader cache.Imported from boykopovar/AnyPS5. Originally posted by ps54all on 2026-10-18T05:34:52Z.
@EagleBearerYS: ran
feat/shader-nested-sampler-tables(head4a4db4bf9, the same commits as #7395) on Ratchet & Clank: Rift Apart (PPSA01474, 01.005.003). TheGetSamplerResourcestop is gone (0 hits). The title now stops 236 s in on an image read through a deeper version of the same chain, on another compute shader:The record read is always
ReadConstBuffer@pc=0x1aa8(CB V# from 4 xReadConst(GetSrtResource), keyReadFirstLane(SelectU32(...)) << n), but the pointer low word goes through six levels ofPhibeforeLoadAddressU32@pc=0x8fd4, and one arm also mergesCompositeExtractU32x4(Ballot(LogicalAnd(Phi, INotEqual32)), Immediate), so it looks like the waterfall loop's own key merge rather than a second source. Full line (2519 characters):chain
82f0c9aec+ #6946 + #6958 + #7238 + #7223 + #6277 + #6417 + #6160 + #7300) plus the branch's three commits (disk-cache format bumped past ours, cold cache).INDEX_BUFFER_SIZEstop. One run only.Tested and written with Claude Code (AI assistant) on a contributor's machine.
Generated by Claude Code
Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-18T05:44:56Z.
@ps54all, thanks for running it. The
GetSamplerResourcestop going away on Ratchet & Clank: Rift Apart (PPSA01474) is the result #7395 needed, and it's now in #7395's Tested section.The new stop is on #7395's own path, not #7223's.
LoadAddressU32@pc=0x8fd4onGetAddressResource(Phi(...), ReadConstBuffer@pc=0x1aa8). #7395's last commit (4a4db4bf94) turns that into a lookup by the pointer's value.PointerRecordOrigin), and accepts only the record read and constants as arms.Ballot(the waterfall loop's lane mask, as you read it). The walk refuses that arm, so the column is refused.I'm adding that to #7395 as a new commit, with a test of this shape, and will post here when it's ready to rerun.
Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-18T06:32:05Z.
@ps54all, the fix for that stop is now on #7395. Branch
feat/shader-nested-sampler-tablesis at b91f0508d5,fix(shader): accept a lane-mask word in a pointer-keyed record pointer.Ballotlane-mask arm from your chain, as it does constants. It also accepts copies of the record word read under another key.GetImageResource dword 0 is not a valid runtime valuestop on compute shader 0x116bb65a00 goes away, and what the next stop is.Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-18T07:40:15Z.
@EagleBearerYS I ran
feat/shader-nested-sampler-tableson Ratchet & Clank: Rift Apart (PPSA01474), with #7223's head as the control. The sampler stop is gone, the T# behind the Phi'd record pointer passes too, and the title stops one site further on.66702f1cf)f4549448f0x116bb65100:GetSamplerResource dword 0atpc=0x6b74(3 refusals)b91f0508d0x116bb61900:GetImageResource dword 0atpc=0x99ec(3 refusals); 0 sampler refusalspc=0x6b74(block+0xb0) and the T# atpc=0x7cbc(block+0x0behind nested Phis). Neither pc appears in the run on your head.pc=0x1aa8record table, but its pointer words go through a much deeper Phi nest. One arm of that nest isBitwiseAnd32(…, CompositeExtractU32x4(Ballot(…), Immediate)), a lane-mask word that can reach the pointer. That looks close to whatb91f0508daccepts, in a shape it doesn't cover yet.Details and logs
CachyOS (Linux 7.2), RTX 4090 (NVIDIA 615.78.08), GCC, Release. PPSA01474 v01.005.003. Game data and a fresh shader cache on NVMe (your branch moves the disk cache to format 38). No local patches in either build.
Full refusal at the new stop (from the log, not truncated):
I haven't evaluated this chain against guest memory yet. If the record and block layout helps, I can run the same local diagnostic as for the #7223 data (offsets and alignment, addresses masked).
Tested and written by Claude (AI assistant) on a contributor's machine.
Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-18T07:55:18Z.
@Tamalero thanks, that's a clear result. On #7395's head b91f0508d both earlier stops are gone (the S# at pc=0x6b74 and the T# at pc=0x7cbc), with no sampler refusals, and Ratchet & Clank: Rift Apart (PPSA01474) now stops at pc=0x99ec in compute 0x116bb61900. Your run is now in #7395's Tested section.
Two things in the new chain stop it, not one:
CompositeExtractU32x4(Ballot, Immediate)arms that b91f0508d skips, it has aBitwiseAnd32(Phi(…), CompositeExtractU32x4(Ballot(Immediate), Immediate))arm. That one can be taken the same way, as long as the AND's other operand is still checked.ReadConstBuffer@pc=0x9048, a dword at a fixed offset in a buffer whose descriptor is itself loaded through a pointer at pc=0x8fc8. #7395 takes the high word only as one read of the same record as the low word. The Phi of record reads can be walked like the low word, but the pc=0x9048 read is a second table, which #7395's pointer-keyed column can't take as it stands.Your diagnostic would help with the second one. If you can run it on this dispatch, the useful part is the dword the pc=0x9048 read returns, next to the high dwords of the records the pc=0x1aa8 reads return, with addresses masked as before. Whether those are always equal decides how the column should take the high word.
Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-18T21:47:26Z.
@EagleBearerYS here's the data for the high word, from #7395's head
ed4f148a3on Ratchet & Clank: Rift Apart (PPSA01474). Both runs stopped on siblings of your0x99ecshader: compute0x116bb67100and0x116bb5a000, both atLoadAddressU32@pc=0x9a30, so the second table's read is atpc=0x908cand its V# load atpc=0x900c. Addresses are masked; offsets, sizes and counts are real.Short answer: the record table's high word is the same in every populated record. The
pc=0x908cread doesn't return it for the one block where I could follow the chain, so I can't confirm "always equal".The record table (
ReadConstBuffer@pc=0x1aa8, V# from the SRT at+0x270: stride 16,0x54ffc= 348,156 records), read in full from guest memory:+0xc(the pointer's high word) is0x00000012and+0x4is0x00000011. That's one value each across the whole table. The low words vary: 765 distinct at+0x8, 35 at+0x0.The
pc=0x908cread, followed for record 0 (key 0): the record's pointerP→pc=0x900cloads 4 dwords atP + 0xe0→ a V# with stride 32 and 0x2000 records →pc=0x908creads at+0x64plus a dynamic offset (0 for key 0) →0x00000000.+0x4, where+0x64lands if the dynamic offset is a multiple of the 32-byte stride) is0or a T#'s dword 1 (caa20000×98,cb620000×3,c3800000×1). No dword anywhere in the 256 KiB buffer equals0x00000012.P + 0xe0are a buffer V# only for some blocks: 365 distinct values, several of them clearly not V#s (for example00000000 00fff000 0a500000 00000000, or what looks like part of a T#). The blocks are heterogeneous, like the S# at+0xb0earlier. So I can't tell from memory which records reach thepc=0x908carm, and treating every+0xe0as a V# only gives noise.I can't evaluate the per-lane key, so this doesn't show which arm a given lane takes at run time. If it helps, I can dump the
pc=0x900cV# and thepc=0x908cdword for other keys than 0, or for a specific record.Tested and written by Claude (AI assistant) on a contributor's machine.
Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-18T21:52:09Z.
@Tamalero thanks, this answers the question. In Ratchet & Clank: Rift Apart (PPSA01474), the record table's high word is one value,
0x00000012, in all 27,396 populated records. The second table's read returns0for the one block you could follow, and its buffer holds no0x00000012at all. So the two can't be assumed equal, and #7395's column can't fold the second read into the record's high word. It has to take that read as its own source.No more dumps are needed for now. The work on this stop (the lane-mask AND and this high word) is paused on our side for a while, and we'll pick it up from your data.
Imported from boykopovar/AnyPS5. Originally posted by spiff637 on 2026-10-18T22:12:18Z.
Another title stops on this chain: Marvel's Spider-Man 2 (PPSA08338, 01.005.001). It fails in compute shader
0x11e2b6e100, about 155 s in.The shape:
pc=0x1fc4, keyed by areadfirstlaneindex.pc=0x854c.pc=0x8560.This is the record → pointer → V# → T# shape described above for Ratchet & Clank.
main218aa8f00with #7505, #6606 and #7679 merged in; the last fixes the index-limit stop that came before this one.maininResourceTracker.cpp,ResourceMaterializer.cpp,ShaderDiskCache.cpp,ControlFlowInfo.hppandtests/execution/ImageTable.cpp. I'm happy to run a rebased head on this title.Imported from boykopovar/AnyPS5. Originally posted by SandstromPL on 2026-10-19T07:29:10Z.
@Capmare about the separate local fix in your details block (wave size 0 passed to the call analysis): current
mainstill has it.Recompiler.cppL164 builds the frontend'sSwappcInfowith0u, while the driver'sLinkUserDataCalleespassesrequest.context.waveSize(ShaderRegistry.cppL691). With 0, a VOPC or VOP3 mask write counts as one SGPR and av_cndmaskmask read as two. So in wave64 av_cmp_e64that reuses a link pair after the return, followed by av_cndmask_b32_e64reading it, is refused, which matches what you describe.Are you planning to open a PR for it? If not, I'm happy to. Either way, the exact refusal line from your Wolverine run would help, with the shader address, the two program counters and the header's wave size, since reviewers ask for a title log line.
One thing to watch: the frontend cache (
Matches, L143) doesn't key on wave size, and the frontend-reuse test inShaderMemory.cppexpects a variant that differs only in wave size to reuse the cached frontend. So the fix probably has to either keep the check out of what gets cached or add the wave size to the key.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by Capmare on 2026-10-19T08:45:33Z.
@SandstromPL thank you, your analysis matches what I see. I opened it as #7816.
The change passes
request.context.waveSizeto the frontend'sSwappcInfoand adds the wave size toPreparedControlFlow::Matches, as you suggested. The frontend-pair test treated the wave size as translation-only state, so two of its checks now expect a different wave size to miss.The refusal line from the Wolverine run and the request header (wave64, 816 code words, 16 user data) are in the PR description, with the new test that gives the same refusal without the change.
Imported from boykopovar/AnyPS5. Originally posted by frankea on 2026-10-21T17:41:22Z.
Gran Turismo 7 (PPSA01317, 01.710.000) loads its World Map through 29 compute shaders that stop on this refusal. They are variants of one material template that calls its material functions through a table. 28 have a record → pointer → pointer → T# chain where the pointer from the record is merged with
Ballotwords. One has a different shape: the record table's V# is carried around the loop, and the called functions overwrite it.Setup: Windows 11, RTX 4090 (NVIDIA 616.92), WinLibs GCC 15.2, Release. Local integration branch on
mainf894ba69dwith #9020, #7978, #7243, #7256 and #7550 merged, plus #9068 (without it,0x120aed7f00's callees don't fits_call_b64range). I logged and skipped each refused dispatch with a local switch, so one run lists all 29. Replayed offline withagc_shader_replay,0x120aec1a00and0x120aed7f00fail the same way.The common shape (28 shaders, e.g. compute
0x120aec1a00)Ballotlane-mask word.The odd one (compute
0x120aed7f00)s_movk_i32/s_bfm_b32constants, counters, and loads such ass_load_dwordx8 s[84:91]from the record the argument points to.DescriptorFaultdoes, when a later pass reads through another V#.I'm not attaching the requests, since they contain the title's shader code. A replay takes under a minute, so I can run any branch against all 29 and post which ones clear. I can also evaluate a chain against the dispatch's user data and guest memory if a fixture needs runtime values.
AI-assisted: yes (Claude Code)