Skip to content

Commit

Permalink
Invalidate pipeline permutation vars when the pipeline resource changes
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Core committed Feb 2, 2021
1 parent 1a744d8 commit 2efd5e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Code/Engine/RendererCore/Pipeline/Implementation/View.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ void ezView::EnsureUpToDate()
m_pRenderPipeline = pPipeline->CreateRenderPipeline();
ezRenderWorld::AddRenderPipelineToRebuild(m_pRenderPipeline, GetHandle());

m_bPermutationVarsDirty = true;
ResetAllPropertyStates(m_PassProperties);
ResetAllPropertyStates(m_ExtractorProperties);
}
Expand Down

0 comments on commit 2efd5e8

Please sign in to comment.