Skip to content

Is the RenderGraph example code reversing execution order? #362

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?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Game EngineSpecific to the Simple Game Engine tutorial

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions