Integrating latest from github/staging

Integrating up through commit 5e1bdae
This commit is contained in:
alexpete
2021-03-26 14:31:50 -07:00
parent 9c54341af8
commit 36c4e827bd
764 changed files with 11453 additions and 20251 deletions
@@ -24,8 +24,6 @@
#include <StringUtils.h>
#include <ParseEngineConfig.h>
#include <AzFramework/Application/Application.h>
#include <AzCore/Module/DynamicModuleHandle.h>
#include <AzCore/PlatformId/PlatformId.h>
@@ -249,7 +247,6 @@ int main_wrapped(int argc, char* argv[])
COutputPrintSink printSink;
SSystemInitParams sip;
CEngineConfig cfg;
using PlatformMap = AZStd::unordered_map<AZ::OSString, AZ::PlatformID, AZStd::hash<AZ::OSString>>;
using PlatformMapElement = PlatformMap::value_type;
@@ -340,10 +337,6 @@ int main_wrapped(int argc, char* argv[])
return errorCode;
}
// Overwrite assets platform so it matches the platform for which we are generating the shaders.
cfg.m_assetPlatform = foundPlatform->first.c_str();
cfg.CopyToStartupParams(sip);
sip.bShaderCacheGen = true;
sip.bDedicatedServer = false;
sip.bPreview = false;