fix(shader): decode GFX10 scratch offsets as one dword #2965
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2965"
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 Prophet069 on 2026-10-10T18:56:34Z.
What
GFX10 scratch SV addresses contain one32-bit VGPR offset, not the VGPR pair used for ordinary FLAT addressing. VGPR255 was therefore incorrectly rejected. Decode SV/SS/ST address components independently and make the scratch IR consume the offset components; retain the FLAT/global VGPR-pair and unsupported-scalar checks. Source: LLVM FLATInstructions.td for the operand widths and SV/SS/ST pseudos, and GFX10 encoding for null/EXEC_HI sentinels. #1190 changes flat-aperture SPIR-V routing and does not modify these decoder/IR units.
Tested
Windows: freshly compiled the two affected production units and regression against unchanged prebuilt decoder/IR support objects;14 valid/invalid decoder+IR cases passed in0.08s. The captured instruction dc304000027d00ff also decoded successfully in an earlier DS2 PPSA02015 run. That is decoder validation, not measured PS5 GPU execution or address results. Hardware validation remains outstanding and is recorded in TechnicalDebt. Full Linux/Windows/GPU CI has not been run. Test timeout is30s.
Base:
3cb317fcfd877f93b0b65adbe7b737ba1ba5123f; candidate:d6573b31d68536076a248f5e6366c4ff0a439adc.python tools/check_conventions.py --base origin/mainpassed.Checklist
main; no other open PR implements the same functionsTests were run on1476f769 and retained across the conflict-free rebase to3cb317fc. That upstream interval does not change the tested libc/decoder/IR sources. No game was started for this submission.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T19:05:09Z.
Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T19:05:22Z.
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)docs/dev/TechnicalDebt.mdL380docs/dev/TechnicalDebt.mdL394Pull request closed