fix(recompiler): describe the descriptor and modes when no runtime image mode matches #2920
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2920"
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 XairRrR on 2026-10-10T18:27:37Z.
What
image descriptor is incompatible with the static runtime image interfacenow names the descriptor's raw format, what the descriptor decodes to (numeric class, dimension, conversion and packed formats, cube, depth bits, sRGB), every mode the shader was prepared with, and the T# words.Diagnostics only, no behaviour change. Added while bringing up PPSA05684, where the one-line message did not say what to fix.
Tested
BUILD_TESTING=ON.57f96fd2: 697/698; the one failure,agc_driver_dcc_keys_first_write, fails the same way on plain main57f96fd2. Conventions check passed.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T18:33:58Z.
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/Optimization/src/ResourceMaterializer.cppL784-785Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-10T23:30:49Z.
Checked: diagnostics-only change in
RuntimeImageMode(same throw, same condition), builds on current main,<cstdio>is included, no behaviour change. Note #822 touches the same lines inResourceMaterializer.cpp, so whichever lands second needs a rebase. Merging.