Geometry shaders, step 3: the ES half and the ES to GS handoff through LDS #312
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from fxceless/victory-fork. Originally posted by Revens2 on 2026-11-24T23:29:25Z.
Follow-up to #138, after #309 (step 1) and the stage-data step.
The ES half fetches vertices, writes fixed-size records to LDS, s_barrier, then jumps into the GS half with s_setpc_b64. The GS half reads its input vertices from LDS at offsets in v0/v1. Translating the pair as one program needs: the ES program past its indirect exit (it drops out of the batch today without an I/O or emit step), the ES records modeled as GS input vertices, LDS access in a graphics stage (compute LDS exists, check what carries over), and the group barrier between the halves. Entry point: merged::pair_es_gs / emit::translate_merged_gs.
Not started.