ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value #28515
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 keksimusmaximus on 2026-12-01T10:42:03Z.
What happens
ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime valueTitle, test or build step
PPSA01859 01.001.000
AnyPS5 commit
v0.1.6-3515-g483b81fb5a
System
Manjaro Linux Stable, AMD Radeon RX 6700 XT (Mesa 26.2.7)
Host report
Steps to reproduce
Log
Additional Notes
Those notes are AI assisted:
ResourceTracker.cpp,GetHandle(checked onmainat184c5100c1). The recompiler must resolve every T# before dispatch.ValidateSourcerunsSrtWalker::ValidateRuntimeValueon each of the 8 T# dwords, and dword 0 fails.Dword 0 is
ReadLane(<value>, FindILsb32(<Ballot-based mask>)), which looks like a waterfall loop.<value>comes fromLoadBufferU32x4, a per-lane vector buffer load with a phi-merged index, selected betweenReadConstBufferat pc 0x113c, 0x1144 and 0x11ac. So the T# appears to come from a table in memory loaded by vector loads (bindless), not from the SRT.SrtRuntimeValidator.cppdoes not acceptReadLaneorLoadBufferU32x4(ReadLaneis not inIsRuntimeUniformOp), so the check returns false. The image-table entries indocs/dev/debt/shader.md(lines 86 and 89) cover only T#/S# read through a pointer held by a scalar-buffer record, withReadFirstLane, ballot masks and phis. I found no entry for this pattern.