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:
authorbobcatchris <83428450+bobcatchris@users.noreply.github.com>2026-11-29 20:34:18 -0600
committerbobcatchris <83428450+bobcatchris@users.noreply.github.com>2026-11-30 05:17:59 -0600
commit903e3731ec04250f7353f5d43677f0193e715e7c (patch)
tree6590619f0cf73cc0beb0d688079083186a59ee60 /docs/lua-modding.md
parentd367675c705c758f731ae9eb603839a4ebb2283c (diff)
leonida-shader: skip wave_base entry ticket barrier and LDS atomic for 1-D groups (D3D12-SHADER-1D-WAVE-BASE-NO-TICKET)
Addresses the d3d12/docs/findings.md item ("the entry ticket of every console wave64 program with lane code (a group barrier and an LDS atomic, also for groups of one dimension, where the host's waves are runs of consecutive ids)"). For 1-D host groups (threads[1] == 1 && threads[2] == 1, including all multi-wave paired groups which are lowered as [32 * waves, 1, 1]), each host wave already receives a consecutive run of flat thread IDs. Derive each wave's console thread base directly from waveReadLaneFirst(flattenedThreadIdInGroup) & !(wave - 1) (shifted left by 1 for paired groups) instead of allocating an LDS counter dword and emitting an entry group_sync + atomicrmw add. 2-D and 3-D groups keep the LDS counter path unchanged. AI-assisted: Antigravity (Gemini 4 Neon)
Diffstat (limited to 'docs/lua-modding.md')
0 files changed, 0 insertions, 0 deletions