KhronosGroup / KhronosGroup/Vulkan-Tutorial
Is the RenderGraph example code reversing execution order?
- Lingua principale
- C++
- Stelle
- 418
- Fork
- 126
- Merge medio
- 11g 6h
- PR unite (30g)
- 31
Descrizione
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`?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp
- Ambito
- computer-graphics, documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100