Paired LDS writes with equal offsets
With equal offsets, RDNA2 writes only DATA0. PortBridge followed THE-PRO-GAME's VIctory investigation and reproduced the second value overwriting the first in XCL and Continued. Local corrections have been tested. Adoption by the teams is pending.
Recorded in the catalog
VIctory
THE-PRO-GAME proposed retaining DATA0 for all four DS_WRITE2 and DS_WRITE2ST64 forms and reported eight synthetic dispatches on WARP.
Automated test · Mixed result · D3D12 WARP
59ab6b736af3037780f46b706ddce67362c26448Report date
The author reported eight dispatches for equal and distinct offsets across four forms and 64 lanes. Equal-offset checks failed on the baseline and passed with the patch.
Independent verification · Passed · AMD RDNA2 Van Gogh, SteamOS 3.8.28, RADV 26.1.99, Proton 11.0-3 (vkd3d-proton)
59ab6b736af3037780f46b706ddce67362c26448nullmarsh's four paired-store checks on Steam Deck
Report date
All four synthetic 64-lane paired LDS store checks passed. The full suite's stub_pipeline_is_created failure also affected main. The run did not test a reverted fix or a native Windows AMD driver.
XCL
With equal nonzero offsets, all 64 lanes in each of the four variants read DATA1. The correction restores DATA0 and preserves both writes at distinct offsets. PortBridge shared the measurement and pinned patch with XCL.
Automated test · Failed · Windows 11 Pro 28000, RTX 4070 Ti SUPER (617.14), D3D12, split Wave64
930e8b49c1c2ec683d22c724a398b39111cd0e56Report date
All four forms returned DATA1 in all 64 lanes with identical nonzero offsets. All four distinct-offset controls preserved both values.
Automated test · Passed · Windows 11 Pro 28000, RTX 4070 Ti SUPER (617.14), D3D12, split Wave64
7f2329e1cc686e0b25ea21d655fe07556e9d4c11Report date
All four equal-offset forms returned DATA0 and the distinct-offset controls still passed. Six focused tests passed without skips. AMD and retail smoke were outside the check.
Leonida Continued
PortBridge confirmed the same mismatch in Continued and proposed a fix in #966. A synthetic shader on RTX through Vulkan returned all eight expected DATA0 words. KernelSmoker independently repeated eight tests on Linux and approved the tested revision. The PR remains open.
- Claim and Continued baseline check
- Fix and results in Continued #966
- KernelSmoker's independent test and approval
Automated test · Failed · SPIR-V semantic interpreter
a28927849adb4e40dfdec8c32fb6758dcd205a37Continued baseline reproduction
Report date
All four equal nonzero offset forms returned DATA1. The four distinct-offset controls and six existing checks passed.
Automated test · Passed · SPIR-V semantic interpreter, Windows 11 Pro 28000, RTX 4070 Ti SUPER (617.14), Vulkan 1.3
9ae6f1253ffc45cc1ebf774dcaa630959111ccb0Continued correction checked on CPU and RTX
Report date
All 379 LDS tests passed without skips. In the Vulkan fixture, the baseline returned eight DATA1 words and the patch returned the eight expected DATA0 words. Equal offsets emitted eight LDS stores instead of 16. AMD and retail smoke were outside the check.
Independent verification · Passed · Linux, SPIR-V semantic interpreter
9ae6f1253ffc45cc1ebf774dcaa630959111ccb0KernelSmoker confirmed eight Linux tests and approved the PR
Report date
KernelSmoker passed both new tests and all six existing b64 paired LDS checks. The no-game-data guard and git diff --check passed. The reviewer did not run a GPU test.