Pass changes: final cleanup

This commit is contained in:
antonmic
2021-06-09 08:55:57 -07:00
parent c996b34835
commit 1ddb94ada1
7 changed files with 119 additions and 144 deletions
@@ -188,8 +188,10 @@ namespace AZ
void DisplayMapperPass::InitializeInternal()
{
// Force update on bindings because children of display mapper pass have their outputs connect
// to their parent's output, which is a non-conventional and non-standard workflow
// Force update on bindings because children of display mapper pass have their outputs connect to
// their parent's output, which is a non-conventional and non-standard workflow. Parent outputs are
// updated after child outputs, so post-build the child outputs do not yet point to the attachments on
// the parent bindings they are connected to. Forcing this refresh sets the attachment on the child output.
for (const RPI::Ptr<Pass>& child : m_children)
{
child->UpdateConnectedBindings();