upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/lua-modding.md
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-11-26 23:10:06 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-27 00:00:53 -0500
commit5b7b7021616689c5df71943e6a39f1bb0fd09936 (patch)
treedc5171bc9b7da3f62422ec4ecbbdfd79b85e1a91 /docs/lua-modding.md
parentf0c290f11f419bb0fd34908988ac4ba42e1b7941 (diff)
leonida-shader tests: the group counter over the group shapes the title has; WAVE-TICKET line
A test of the group counter (LEONIDA_THREAD_TICKET) over more group shapes than the 32 x 2 one it came with: 8 x 8, 16 x 4, 4 x 16, 2 x 32, 64 x 2, 16 x 16, 32 x 32 and the one-row groups of 64, 128, 160 and 256 threads. With the counter every thread of every shape must be given once; what the old rounding gives is printed for each shape. With LEONIDA_WAVE_WHY a program that takes its threads from the counter says so with its group's shape (WAVE-TICKET), which is how the shapes were found: translating the title's archive for a 32-lane host, 12 compute programs take the counter (TAA2 and TAA2U CS_TAA2_Resolve and CS_GatherRaymarchedLocalLights in 8 x 8 groups; CS_GenerateParticles, CS_ScreenProbes_ResolveGBuffer, CS_VirtualTable_SortJobs, CS_ComputeStickyLips and five water_tessellation CS_Subdivision programs in one-row groups). Not from a fork. On this host (NVIDIA, 32-lane waves) the counter gives every thread once for all eleven shapes. The old rounding did too for 8 x 8, 16 x 4, 4 x 16, 2 x 32, 16 x 16 and the one-row groups, that is for every shape those 12 programs have; it gave half the threads for 64 x 2 and 32 x 32 (and for 32 x 2, the test before this one). So on this card the counter is not expected to change what those programs compute; it makes them independent of how a card fills its waves. AI-assisted. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'docs/lua-modding.md')
0 files changed, 0 insertions, 0 deletions