fix(shader): split BDA span read paths #4224
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4224"
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 MarcZX10 on 2026-10-12T01:45:24Z.
What
read_bda_spanused one selection for the in-place dword loads and the per-dword byte fallback. NVIDIA drivers hang when lanes split between these arms within the non-inlined span function. Split the arms into two selections while preserving each lane's path, loads, lookups, fault recording, and invocation stops. This carries the tested fix from #3291, rebased onto currentmain.Tested
python3 tools/check_conventions.py --base upstream/main --head HEAD— passed.git diff --check upstream/main...HEAD— passed.CMakeLists.txt, and Linux audio development libraries are unavailable.Checklist
mainand checked against the NVIDIA hang reports in #3291.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-12T01:45:33Z.
I carried the single-file fix from #3291 and rebased it onto current main as #4224. Its original PR #3289 was auto-closed during the intake pause; the issue now includes independent NVIDIA validation, including RTX 4060 Laptop / driver 591.86. The isolated Linux build here cannot configure because SDL2 is unpopulated and audio development headers are missing, so I reported that limitation in #4224. The rebased patch passes conventions and diff checks.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-12T01:55:05Z.
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/SpirvBackend/src/SpirvBdaRead.cppL182-199, L201-203core/shader/recompiler/SpirvBackend/src/SpirvBdaRead.cppL182-199, L201-203Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-12T02:12:14Z.
Closing this because the active contribution rules prohibit carrying code from intake-paused PRs; this change was carried from #3289. The issue evidence remains available for an independently authored fix if appropriate.
Pull request closed