fix(shader): preserve pixel export mappings in replay #869
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/869"
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 ahir061 on 2026-10-06T11:27:21Z.
What
Preserve
ShaderPixelStageInfo::targetExportMappingwhen serializing and replaying shader recompile requests.targetExportMappingalready affects pixel export generation and shader cache identity, but request serialization previously omitted it. As a result, replayed pixel shaders received zeroed export mappings instead of the mappings captured from the original request.This change:
targetExportMappingbytesTested
git diff --checkpassedChecklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); no silent stubs were added.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-06T20:13:20Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/shader/recompiler/ControlFlow/src/RequestSerializer.cppL310, L343, L690, L714Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-07T08:16:50Z.
Checked the round trip, the v1-v7 fixtures and the truncation cases; full ctest is green on RADV merged onto current main, and
agc_shader_memoryfails with the serializer change reverted. Merging once CI is green.Heads-up for #448: it also bumps the request version (8 for the vertex
paClVsOutCntl, 9 forquadPixelMask), so it will need renumbering after this lands.