Radiance cache on the M5 Pro: fit 10 storage buffers per stage, then the Mac run list
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript, web-dev
- Domain
- performance, testing-qa
Research direction
Start with docs/design/radiance-cache.md and the limits table, then inspect register D6 packing and the per-pipeline storage-buffer count test mentioned in the issue. Run the GPU test on the RTX with the device limited to 10, then follow the listed M5 Pro Chrome run list and record results in PROGRESS. Done means every pipeline stays within the limit in all settings and all listed runs pass with results recorded.
Written by the indexing model from the issue text.
Description
Blocker. Some radiance-cache compute pipelines bind 13 storage buffers in one shader stage. Chrome on the M5 Pro allows maxStorageBuffersPerShaderStage = 10, so none of the radiance-cache GPU pages can run on the Mac. This was found while verifying #44 on the Mac.
- The design assumed our device's 16 per stage (the RTX's): see docs/design/radiance-cache.md, the limits table.
- Fix in progress on branch
rc-storage-buffers. It extends register D6's packing (Capsaicin's ~30 hash-cache buffers already live in a few packed buffers at fixed offsets). - It adds a per-pipeline storage-buffer count test and a GPU run on the RTX with the device limited to 10.
Then, the Mac run list (M5 Pro, Chrome, through the bench lock):
- The radiance-cache correctness pages: world-cache, cell-shading, ddgi-bounce, temporal, stability, three, viewer, plus SHaRC and the denoiser pages.
- P6.4's neural tail (from PROGRESS 2026-11-20):
pnpm test:gpu --filter radiance-cache-neural-tail;radiance-cache-neural-timingwith the cool wait, all four rows;- the same with
neural: { stepsPerFrame: 1 }andscreenStride: 16; - the lag section with
ema: 'off'.
- Timing for phase 5 and P6.5: VALID runs of the radiance cache's default and each variant. This overlaps with #15.
Done when: every radiance-cache pipeline binds 10 or fewer storage buffers in every setting combination (unit-tested), the RTX passes at a limit of 10, and the Mac run list above has been run and its results recorded in PROGRESS.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 16h 11m
- Merged PRs (30d)
- 15
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pmndrs/gi
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
chore
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
TU.3: Safari on the M5 ProPossibly taken @DennisSmolek claimed this today. Openneeds-mac tuning
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
Maintainers usually reply within 1 day
Similar issues
-
bug zoo
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
software-mansion/runntime#151 ·
Maintainers usually reply within 4 days
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
sidebandstudio/clawtrate#728 ·
Maintainers usually reply within 1 day
-
enhancement github_actions help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tranquilo-art/tranquilo-app#254 ·
Maintainers usually reply within 1 day
-
docs good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
DojoCodingLabs/hermit#73 ·
Maintainers usually reply within 1 day
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Tfoucher5/fuzzy-toolkit#44 ·
Maintainers usually reply within 1 day