ScarletNX / ScarletNX documentation / A draw-level fast path (design, not built) · ← previous · next →
Risks
- The kept part reads more than the kept groups (risk 1 of the map: viewports, dynamic state, vertex buffers, the
fixed-function fields, the predicate). Each one left out of the key gives a wrong draw.
- The texture handles come from a constant buffer. A hit that does not compare them binds the wrong textures. The
existing
draw_holds may already miss a change of the vertex texture and image header variants, which come from
the same handles. That needs a check before this design.
- A draw writes its targets. A texture kept over a target, or a sampled target, can be stale at the next draw
(
tex_over_holds, the layout).
- Read notes and lookups can reload targets and make surfaces in the middle of a hit.
- A submit during the setup lands results and voids the stamps.
← previous · next →