Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Latest commit

 

History

History
21 lines (16 loc) · 800 Bytes

Graph-visualization.md

File metadata and controls

21 lines (16 loc) · 800 Bytes

Graph visualization contains:

  • Initial and final state of all resources that will be used in current subbatch.
  • All pipeline barrier that automaticaly placed between tasks.
  • All tasks with default or custom name and color.
  • Synchronizations and memory transfer between host and device.

To set task name and color use SetName() and SetDebugColor().

Setup command buffer for debugging:

CommandBufferDesc desc;
desc.SetDebugFlags( EDebugFlags::Default );

CommandBuffer cmdbuf = frameGraph->Begin( desc );

Use IFrameGraph::DumpToGraphViz to retrive graph description in dot-language.
Or use GraphViz helper library to retrive and visualize graph with graphviz (should be installed).

Example: image