Preserve opposite-row lane reads on Wave32 #340
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/340"
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 fxceless/victory-fork. Originally posted by Kamiloj9 on 2026-11-24T23:37:15Z.
Change
v_permlanex16_b32to an opposite-row lane read within each 32-lane half. Require full guest EXEC and proven lane participation before emitting the read.Verification
CS_WaterTransmittanceOpticalDepthProcessingcompute shader emits WaveSize(32), passes the DXIL validator and creates a D3D12 compute PSO. The strict replay usesVICTORY_WAVE_LOCAL=idiom.Imported from fxceless/victory-fork. Originally posted by HAL9000RELOADED on 2026-11-25T19:29:31Z.
Merged on current
maind510ee4(+ #402 for SM 6.6 on Windows 10), RX 7900 XTX. The three new tests pass, and the hardware one fails without the fix. But main'semit::valu_tests::v_permlane16_and_x16_read_the_lanes_their_selectors_picknow fails, at translation:That test passes on main. It came in with
31714de, after this PR's base2119b0e, along with main's general permlane lowering. The merge is textually clean, but the new opposite-row path now refuses controls that main translates. Since it fails at translation rather than on the GPU, it should fail on any host. Table of the run: #129 (https://github.com/fxceless/victory-fork/pull/129#issuecomment-7172358511).Pull request closed