feat(shader): implement the DPP16 row_share controls #660
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/660"
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 Celegans12 on 2026-10-05T12:05:21Z.
What
EmitDppTargetLanethrewSPIR-V module emission failed: DPP control 336 is not supportedfor the DPP16row_sharecontrols (0x150-0x15F), so shaders that use them could not be recompiled.row_share:selnow reads lane(lane & ~15) | sel, laneselof the reading lane's own row. The source never leaves the row, so the target is always valid; an inactive source then follows thefi/bound_ctrlrule from #515, asrow_xmaskalready did.DppCtrlenum has the same ranges.v_mov_b32withrow_share0, 12 and 8 andv_max_f32withrow_share:4, all withbound_ctrl:1.Tested
main53dc19cf: configure-DBUILD_TESTING=ON, full build,--target libs,ctest:ctest --output-on-failure)agc_driver_dpp16_row_share_xmask:v_mov_b32,v_add_nc_u32,v_sub_nc_u32andv_max_f32withrow_shareandrow_xmask(untested until now) under partial exec,fi,bound_ctrland row/bank masks, as wave32 and wave64. Expected values come from an ISA model with #515's write rule; a wrong lane map fails it. Onmainit fails at the first recompile with the message above.mainthe shader at 0x80003dc800 fails with that message; with this change it and two otherrow_shareshaders are emitted and passspirv-val.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)