Skip to content

Fix reversed execution order in RenderGraph doc - #468

Open
gpx1000 wants to merge 1 commit into
KhronosGroup:mainfrom
gpx1000:fix/362-rendergraph-order-doc
Open

Fix reversed execution order in RenderGraph doc#468
gpx1000 wants to merge 1 commit into
KhronosGroup:mainfrom
gpx1000:fix/362-rendergraph-order-doc

Conversation

@gpx1000

@gpx1000 gpx1000 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

visit() recursed into dependents instead of dependencies, scheduling consumers before their producers. Also fixes dependency discovery only working when producers happen to appear before consumers in the passes vector, by registering all outputs before checking any inputs.

Fixes #362.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Is the RenderGraph example code reversing execution order?

1 participant