Fixes for memory image names.

Correctly write to MemoryImageNames array, copy contents of TArrayView rather than the layout of the view object itself, handle name layout during patch application on foreign platforms.

#rb none
[FYI] johan.torp, ben.ingram

#ROBOMERGE-OWNER: Ben.Woodhouse
#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 19068807 via CL 19068829 via CL 19074886 via CL 19075335 via CL 19077116
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19077183 by robert millar in ue5-main branch]
This commit is contained in:
robert millar
2022-02-22 14:13:32 -05:00
parent 0b5cf140e1
commit b7b8b8d70c
5 changed files with 52 additions and 9 deletions
@@ -449,6 +449,8 @@ void FGlobalShaderMapId::AppendKeyString(FString& KeyString, const TArray<FShade
{
#if WITH_EDITOR
LayoutParams.AppendKeyString(KeyString);
{
const FSHAHash LayoutHash = Freeze::HashLayout(StaticGetTypeLayoutDesc<FGlobalShaderMapContent>(), LayoutParams);
KeyString += TEXT("_");