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

Open
opened 2026-11-24 23:29:25 +00:00 by Revens2 · 0 comments
Revens2 commented 2026-11-24 23:29:25 +00:00 (Migrated from github.com)
Contributor

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.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6593526114 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/312). Originally posted by [Revens2](https://github.com/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.
Sign in to join this conversation.
No labels
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.

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