fix(shader): shuffle both wave64 halves of a scalar with one vector shuffle #6677
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6677"
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 mariuszkreft on 2026-10-16T04:01:09Z.
What
Tested
Linux, on the host, in the slice worktree. The loop ran this gate itself; the tail of it is
at the bottom of this pull request. No title and no GPU were involved.
Checklist
main; no other open PR implements the same functions.mdfiles or images added to the repositoryVerification log tail
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T04:34: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)docs/dev/debt/shader.mdL104Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppcore/libs/tests/Wave32WideSubgroup.cppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppdocs/dev/debt/shader.mddocs/dev/debt/shader.mddocs/dev/debt/shader.mddocs/dev/debt/shader.mddocs/dev/debt/shader.mddocs/dev/debt/shader.mddocs/dev/debt/shader.mdcore/libs/tests/Wave32WideSubgroup.cppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppdocs/dev/debt/shader.mddocs/dev/debt/shader.mddocs/dev/debt/shader.mdcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppImported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-17T11:02:02Z.
A data point from Borderlands 4 (PPSA01494), the NVIDIA compiler crash in #6294. Linux, RTX 4070 Ti, NVIDIA 595.99.02, 600 s with scripted pad input:
mainbf20538169EXIT-139at 323 s, backtrace ends in_nv002nvvmmain673f7406c5+ this PR (c07c27a7e2 merge)EXIT-139at 346, 224 and 216 s; the one symbolized backtrace ends in_nv002nvvmSo on 595.99 this change doesn't avoid the Borderlands 4 crash, which matches what I saw for #6654's rewrite there. Like #6654, it says nothing about GTA V on 580.
AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by savvaniss on 2026-10-17T14:43:13Z.
GPU execution data for this change: the first run on GPUs, as far as I can see. It covers a 32-wide host (Intel) and a 64-wide host (AMD).
Windows 11 Pro 26300, WinLibs GCC 15.2.0 r7, Release, every execution test built,
ANYPS5_NO_SHADER_CACHE=1, serial CTest,main47a266cf9. Intel UHD Graphics 770 (8086:a780, 32-wide subgroups), driver 32.0.101.7088. AMD Radeon RX 9070 XT (1002:7550, 64-wide subgroups), driver 32.0.31041.1004, withVkCacheemptied first.310a88f70merged intomain:wave32_wide_subgroup, ×3mainwithout the fix, ×3mainmainmainalone: UHD 770 1392 of 1398, RX 9070 XT 1396 of 1398. The failures are image tables (#6647) andsample_multisample_target(#6971) on Intel, andquad_pixel_mask(#6255) andlayered_volume_vertex_no_gpl(#4768) on AMD.This PR conflicts with #6638 in
core/libs/tests/Wave32WideSubgroup.cpp, so one of them needs a rebase after the other lands.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by mariuszkreft on 2026-10-17T19:18:23Z.
Closed by the contribution loop's guard: this pull request has no checklist and was not opened by the loop's reviewed path. The work will be reopened as a pull request after the local gate and the review pass.
Pull request closed