Integrating latest 47acbe8

This commit is contained in:
alexpete
2021-03-25 13:57:57 -07:00
parent 448c549698
commit 75dc720198
10312 changed files with 2711566 additions and 671451 deletions
@@ -189,7 +189,9 @@ namespace ImageProcessingAtom
// Add all the mip chain assets as dependencies except the tail mip chain since its embedded in the StreamingImageAsset
if (it->Get() != mipChains.begin()->Get())
{
product.m_dependencies.push_back(AssetBuilderSDK::ProductDependency(it->GetId(), 0));
// Use PreLoad for mipchain assets for now.
// [GFX TODO] [ATOM-14467] Remove unnecessary code in StreamingImage::OnAssetReloaded when runtime switching dependency load behavior is supported
product.m_dependencies.push_back(AssetBuilderSDK::ProductDependency(it->GetId(), AZ::Data::ProductDependencyInfo::CreateFlags(AZ::Data::AssetLoadBehavior::PreLoad)));
}
}