test(agc): give lds_src2 the LDS it uses instead of 40 KiB #5043
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5043"
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 Zheorgyan on 2026-10-13T09:27:31Z.
What
agc_driver_lds_src2asks for 10240 dwords of LDS, 40 KiB, which looks like a byte count inldsSizeDwords. Apple GPUs allow 32 KiB of threadgroup memory, so on MoltenVK the pipeline is refused with "Threadgroup memory size (40960) exceeds the maximum threadgroup memory allowed (32768)" andvkCreateComputePipelinesreturns -3. the test touches 2432 dwords, it passes at 2432 and fails below, so it now asks for 2560, 10240 bytesTested
macos-portatc3affc1c. fails before with the message above, passes aftertools/check_conventions.pypassesChecklist
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)Imported from boykopovar/AnyPS5. Originally posted by Zheorgyan on 2026-10-13T10:32:44Z.
closing,
7144bb57espills oversized compute LDS to a storage buffer, solds_src2passes on Metal as it is and keeps covering that pathPull request closed