Skip to content

Commit

Permalink
Set submitOrder to -1 to ensure pre-rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed Sep 12, 2023
1 parent 25e3be2 commit 13a40ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vsg/state/ViewDependentState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ void ViewDependentState::init(uint32_t maxNumberLights, uint32_t maxViewports, u
preRenderSwitch = Switch::create();

preRenderCommandGraph = CommandGraph::create();
preRenderCommandGraph->submitOrder = -1;
preRenderCommandGraph->addChild(preRenderSwitch);

auto tcon = TraverseChildrenOfNode::create(view);
Expand Down

0 comments on commit 13a40ff

Please sign in to comment.