rendering: batch retained submissions - #71
Open
tritao wants to merge 5 commits into
Open
Conversation
tritao
force-pushed
the
stack/retained-submission-batching
branch
2 times, most recently
from
August 22, 2026 15:57
020cb82 to
d64b8a3
Compare
tritao
force-pushed
the
stack/retained-submission-batching
branch
2 times, most recently
from
August 22, 2026 18:57
d4d3249 to
f8f89b9
Compare
tritao
force-pushed
the
stack/retained-submission-batching
branch
2 times, most recently
from
August 23, 2026 01:44
92033be to
2b3057f
Compare
tritao
marked this pull request as ready for review
August 23, 2026 01:46
tritao
force-pushed
the
stack/retained-submission-batching
branch
from
August 23, 2026 02:13
2b3057f to
b00f332
Compare
tritao
force-pushed
the
stack/retained-submission-batching
branch
from
August 23, 2026 03:00
b00f332 to
a6d266a
Compare
tritao
force-pushed
the
stack/retained-submission-batching
branch
from
August 23, 2026 03:09
a6d266a to
24f51ea
Compare
tritao
force-pushed
the
stack/retained-submission-batching
branch
from
August 23, 2026 03:19
24f51ea to
59fab79
Compare
tritao
force-pushed
the
stack/retained-submission-batching
branch
2 times, most recently
from
August 23, 2026 10:09
5c2ec2f to
b953791
Compare
tritao
force-pushed
the
stack/retained-submission-batching
branch
2 times, most recently
from
August 23, 2026 12:26
8cc7f70 to
b00d5f9
Compare
tritao
force-pushed
the
stack/retained-submission-batching
branch
2 times, most recently
from
August 23, 2026 13:14
976f4cc to
fc1dcae
Compare
tritao
force-pushed
the
stack/retained-submission-batching
branch
from
August 23, 2026 21:21
d18e1b1 to
e97788f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds on #69.
Purpose
Stable geometry resources remove repeated preparation, but a scene containing
many compatible occurrences can still issue one OpenGL draw call per retained
command. Submission overhead then grows with occurrence count even when the
commands use the same geometry and render state.
This PR lets the render plan group compatible commands and submit them as
instanced batches. The same per-instance identity is carried through visual
rendering, picking, and selection.
What changed
selection shaders.
Ordering contract
Batch compatibility is a semantic decision, not just a matching-shader test.
Transparent commands, render barriers, and depth-sensitive operations preserve
their required order. Geometry-resource ownership remains in #69; this layer
owns planner grouping and submission policy.
Validation
capabilities.