Skip to content

Is the RenderGraph example code reversing execution order? #362

@mbechard

Description

@mbechard

In this page:
https://docs.vulkan.org/tutorial/latest/Building_a_Simple_Engine/Engine_Architecture/05_rendering_pipeline.html#_rendergraph_dependency_analysis_and_execution_ordering

It's doing

for (auto dependent : dependents[node]) {
    visit(dependent);
}

However doesn't that mean that the dependents will be executed first, before the pass that they depend on has executed. Shouldn't this be looping on dependencies?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions