RenderGraph #647

Closed
opened 2026-05-26 01:35:40 +00:00 by SakulFlee · 3 comments
Owner

Build the frame graph that backs #781. This is a render graph, not a shader graph.

Goals:

  • Passes declare read/write resources instead of hardcoded order.
  • Compile to an ordered pass list, cull unused passes.
  • Pool and alias transient render targets across frames.
  • Support render, compute and fullscreen passes.
  • Per-pass GPU timestamps and a debug dump (pass order, resource lifetimes).
  • Changing pass order must not require editing Renderer.

Non-goals for 1.6:

  • No visual editor.
  • No Vulkan-style subpasses (wgpu/WebGPU does not expose them).
  • No shader graph; the node registry already covers shader composition.

Acceptance:

  • Shadow, sky, G-buffer, deferred lighting, forward, post, 2D/UI are graph passes.
  • One main command encoder/submit per frame.
  • Transient targets are reused; no steady-state texture creation.
  • Debug dump and timings available.
  • Depends on #781.
Build the frame graph that backs #781. This is a render graph, not a shader graph. Goals: - Passes declare read/write resources instead of hardcoded order. - Compile to an ordered pass list, cull unused passes. - Pool and alias transient render targets across frames. - Support render, compute and fullscreen passes. - Per-pass GPU timestamps and a debug dump (pass order, resource lifetimes). - Changing pass order must not require editing Renderer. Non-goals for 1.6: - No visual editor. - No Vulkan-style subpasses (wgpu/WebGPU does not expose them). - No shader graph; the node registry already covers shader composition. Acceptance: - Shadow, sky, G-buffer, deferred lighting, forward, post, 2D/UI are graph passes. - One main command encoder/submit per frame. - Transient targets are reused; no steady-state texture creation. - Debug dump and timings available. - Depends on #781.
Author
Owner

Might be a soft duplicate of #781 or at least is related

Might be a soft duplicate of #781 or at least is related
Collaborator

Frame graph backbone is in #937: orbital_render_graph schedules passes by declared read/write resources, records per-pass CPU timings, exposes debug_dump()/to_dot(), and includes a persistent descriptor-keyed texture pool. Shadow, prepare-world, sky, models and post passes are on it.

Still open for this issue: transient aliasing, unused-pass culling, and true reordering beyond the current dependency order.

Frame graph backbone is in #937: `orbital_render_graph` schedules passes by declared read/write resources, records per-pass CPU timings, exposes `debug_dump()`/`to_dot()`, and includes a persistent descriptor-keyed texture pool. Shadow, prepare-world, sky, models and post passes are on it. Still open for this issue: transient aliasing, unused-pass culling, and true reordering beyond the current dependency order.
Author
Owner

Implemented by #937 (frame graph + persistent texture pool) and the subsequent renderer pass work. Headless pipeline/layout validation was added in #965. Closing as code-complete pending GPU validation.

Implemented by #937 (frame graph + persistent texture pool) and the subsequent renderer pass work. Headless pipeline/layout validation was added in #965. Closing as code-complete pending GPU validation.
Sign in to join this conversation.
No project
No assignees
2 participants
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
SakulFlee/Orbital#647
No description provided.