Geometry shaders, step 3: the ES half and the ES to GS handoff through LDS #312

Open
opened 2026-11-26 03:40:30 +00:00 by github-bot · 0 comments
Owner

@⁠Revens2 on GitHub · 2026-11-24 23:29 UTC · original

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.

**@⁠Revens2** on GitHub · 2026-11-24 23:29 UTC · [original](https://github.com/fxceless/victory-fork/issues/312) 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:40:30 +00:00
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/fxceless--victory-fork#312
No description provided.