Builtin Library
- ..
- README.md677 B
- bindings.yaml364 B
- shader.wgsl4.6 KB
README.md
probegi_count
The second of the four passes that list the probes: one invocation per probe
chooses which of the probes that want to update (probegi_schedule) do, under
the field's cap on the updates a frame, and each workgroup of 64 probes counts
how many of its probes belong to each of the four lists of the schedule
(probe_gi_schedule), how many are settled and the most frames any of them
waited. A probe left out stays wanted and its wait grows; the chosen ones are
the probes whose cell entered, then the highest keys, in the same slot order the
lists keep. It writes the flags the passes after it and this pass the frame after
read. probegi_dispatch runs next.