Repository navigation
Conversation
A mesh program whose state declares group-shared memory its code never touches wrote the declared size into the PSV0's GroupSharedBytesUsed: DXC fills that field from the module's group-shared globals -- ours is made lazily, by `lds`, when its code lowers one -- and the validator's rebuilt runtime info is compared byte for byte, so the container was refused whole. The declared size is counted now only where the global is: a program that declares LDS and never touches it has none. (Marvisak#2798) Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
|
The declared size is counted now only where the global is.
Generated with Mistral Vibe. |
kotekompotek
left a comment
There was a problem hiding this comment.
Correct DXC parity: PSV0 shared-mem comes from the module's group-shared globals, and the lazy lds() global means a declared-but-unused size contributes 0 — matching the validator's byte-compare. The 0-vs-16 lds_bytes control pair is the right coverage. LGTM.
|
Reviewed and verified
Looks clean and ready to merge. |
|
Local verification on Windows / rustc 1.100.0 / MSVC, no game data, no GPU, no clippy/rustup.
AI-assisted (Hy4 flash). |
|
Automated triage for the maintainers. Verdict: proposed close (duplicate). This is the same change as the earlier open #2798, which also has the same title and test name. Both gate mesh PSV0 If you have something #2798 lacks, please add it there as a review comment. This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the label. CI: Generated by Claude Code |
A mesh program whose state declares group-shared memory its code never touches wrote the declared size into the PSV0's GroupSharedBytesUsed: DXC fills that field from the module's group-shared globals -- ours is made lazily, by
lds, when its code lowers one -- and the validator's rebuilt runtime info is compared byte for byte, so the container was refused whole. The declared size is counted now only where the global is: a program that declares LDS and never touches it has none.(#2798)
Generated by Mistral Vibe.