AGC: native multisample depth publication fails "cannot re-import the guest's undecided byte" when the guest has rewritten the whole HTILE (Blue Prince, Windows) #28664
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 JJenkx on 2026-12-02T17:03:05Z.
Summary
On
main7d3d015fee, Blue Prince (PPSA25009) on Windows often stops with:In 6 of the last 13 entrance-hall runs it was the stop (62 to 82 s in). A one-line diagnostic just before the
Requireshows the same shape each time. The surface is a 1920x1080, 4-sampleD32_SFLOAT_S8_UINTtarget with depth-only HTILE, and the publication runs for a guestAccess. Only the HTILE plane took guest bytes. Every HTILE word failshtileProvesClear, so thehtilebranch of the re-import check cannot accept it.Where
DepthSurface::PublishToGuest,DepthSurface.cpp:3713-3718at7d3d015fee, unchanged on currentmainfc294cbbb5:This block runs when a byte stayed ambiguous for a
DepthReadCause::AccessorWrite(ambiguous) and at least one plane took guest bytes (tookGuest). For an HTILE target,htileProvenrequires every word to passhtileProvesClear, which rejects any word whose low nibble is0xFand otherwise accepts only the two clear encodings.What the diagnostic printed
The diagnostic prints only when
importableis false. It reports the cause, the branch taken, the target,tookGuestper plane, and how many HTILE words failhtileProvesClear, with the first failing word:These are two runs, with one line each, and the abort follows straight after. 49152 words is the whole
0x30000HTILE. In the first run the first word has low nibble0xF. In the second it is0xff452cd0, which is neither clear encoding. The depth and stencil planes kept the host result (tookGuest0 for planes 0 and 2).So by the time of this guest access, the guest has rewritten the whole HTILE of this surface with words that do not describe a clear, while the depth plane bytes are still ours. The current check has no case for that combination.
Not known
NoteDepthMetadataFill. It may be a shader or copy write.The diagnostic patch and all run logs are on disk if a different field would help.
AI-assisted: yes