Procházet zdrojové kódy

Bugfix: Removing Clear in CopyPass Output slot. (#18574)

Signed-off-by: Joerg H. Mueller <[email protected]>
jhmueller-huawei před 8 měsíci
rodič
revize
ee4f475ff2

+ 1 - 1
Gems/Atom/RPI/Code/Source/RPI.Public/Pass/PassLibrary.cpp

@@ -201,7 +201,7 @@ namespace AZ
             outputSlot.m_name = "Output";
             outputSlot.m_slotType = PassSlotType::Output;
             outputSlot.m_scopeAttachmentUsage = RHI::ScopeAttachmentUsage::Copy;
-            outputSlot.m_loadStoreAction.m_loadAction = RHI::AttachmentLoadAction::Clear;
+            outputSlot.m_loadStoreAction.m_loadAction = RHI::AttachmentLoadAction::Load;
             passTemplate->m_slots.emplace_back(outputSlot);
 
             AddPassTemplate(passTemplate->m_name, std::move(passTemplate));