KhronosGroup / KhronosGroup/Vulkan-Tutorial
Is the RenderGraph example code reversing execution order?
- Vorherrschende Sprache
- C++
- Sterne
- 418
- Forks
- 126
- Ø Merge
- 11 T. 6 Std.
- Gemergte PRs (30 T.)
- 31
Beschreibung
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`?
Beitragsleitfaden
Rechercherichtung
Read the RenderGraph dependency analysis and execution ordering section at the linked documentation page, focusing on the shown loop over dependents. Trace the dependency direction and execution-order explanation to determine whether the example is reversed; done means the code and accompanying text consistently describe the correct ordering.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp
- Bereich
- computer-graphics, documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100