Commit Graph

3282 Commits

Author SHA1 Message Date
ben marsh
566e59e1e6 Live Coding: Fixes issue linking patch DLLs with Visual Studio Express, due to PATH environment variable not including path to mspdb140.dll.
Now stores the linker environment block in the live coding manifest, and adds it to the cache before executing the linker.

#rb none
#jira UE-72324

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5740602 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5740765 by ben marsh in Main branch]
2019-04-04 12:02:05 -04:00
nick shin
047713723f HTML5 - 4.22.1 - update browser paths for launch on menu
#jira UE-71886  FireFox Quantum 67.0b3 fails to launch on correctly
#rnx
#rb none
#lockdown jack.porter

#ROBOMERGE-SOURCE: CL 5710978 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5711369 by nick shin in Main branch]
2019-04-03 13:31:08 -04:00
ben woodhouse
9a133b9de3 Fix bug caught by static analysis in AuditPakFiles()
#jira UE-72242
[FYI] marc.audy


#ROBOMERGE-SOURCE: CL 5708883 via CL 5708886 via CL 5708887 via CL 5708891 via CL 5709641

[CL 5709794 by ben woodhouse in Main branch]
2019-04-03 10:50:33 -04:00
mark satterthwaite
40f221ade4 Invalidating the MetalShaderFormat version seems to cure the build machine of generating bogus shaders for the BoneMatrix SRV change.
#rb none


#ROBOMERGE-SOURCE: CL 5691957 via CL 5691961 via CL 5691963 via CL 5696013 via CL 5696965

[CL 5697149 by mark satterthwaite in Main branch]
2019-04-02 20:04:43 -04:00
william ewen
6b08c26594 FunctionalTest: Adding ClientDescriptor field to the index.json output reports (in FAutomatedTestPassResults)
#rnx


#ROBOMERGE-SOURCE: CL 5692559 via CL 5695909

[CL 5695947 by william ewen in Main branch]
2019-04-02 18:13:54 -04:00
daniel lamb
6f34dab1e9 Added additional logging to unrealpak for compressor settings.
#test Unrealpak


#ROBOMERGE-SOURCE: CL 5691627 via CL 5691628 via CL 5691630 via CL 5691631 via CL 5695674

[CL 5695740 by daniel lamb in Main branch]
2019-04-02 18:11:24 -04:00
bob tellez
bd39cccbdb Back out changelist 5686999. Monolithic compile errors
[FYI] William.Ewen


#ROBOMERGE-SOURCE: CL 5690912 via CL 5695359

[CL 5695458 by bob tellez in Main branch]
2019-04-02 18:02:41 -04:00
ben woodhouse
703ef90966 UnrealPak patch pak seek optimization v2
- Add support for incremental gap filling. Does gap filling in multiple passes, allows us to limit patch size growth to some fixed percentage
- Fixed cooker order UEXP files (previously these were unordered, which could actually result in patches increasing in size after gap filling)
- Added better method for measuring fragmentation - reports as a percentage, takes order index into account
- Refactored OrderMapping via new FPakOrderMap class which knows about primary/secondary mappings
- Added various schemes for defragmentation, including OnePass method which matches legacy behaviour, and various incremental schemes. Incremental_PrimaryFirst seems to give best results
#rb hongyi.yu


#ROBOMERGE-SOURCE: CL 5688530 via CL 5688536 via CL 5688538 via CL 5690113 via CL 5694330

[CL 5694501 by ben woodhouse in Main branch]
2019-04-02 17:52:35 -04:00
william ewen
c0932da9c3 FunctionalTest: Adding ClientDescriptor field to the index.json output reports (in FAutomatedTestPassResults)
#rnx


#ROBOMERGE-SOURCE: CL 5686999 via CL 5693258

[CL 5693439 by william ewen in Main branch]
2019-04-02 17:45:04 -04:00
alexis matte
2e23ecefeb Need to Abs the X scale of the actor transform when generating imposter HLOD mesh.
#rb jurre.debaar


#ROBOMERGE-SOURCE: CL 5669391 via CL 5669393 via CL 5669505 via CL 5669539 via CL 5671569

[CL 5671746 by alexis matte in Main branch]
2019-04-01 14:23:00 -04:00
alexis matte
5339402247 Fix material swap when merging imposter
#rb none


#ROBOMERGE-SOURCE: CL 5669159 via CL 5669160 via CL 5669495 via CL 5669531 via CL 5671540

[CL 5671695 by alexis matte in Main branch]
2019-04-01 14:22:43 -04:00
mark satterthwaite
486f873d3d MetalBackend changes to actually convert local constant arrays to the new safe_array template which sanitises input addresses - because iOS doesn't do that for you. This should reduce the number of bad-access GPU timeouts according to Apple.
#rb none


#ROBOMERGE-SOURCE: CL 5659739 via CL 5659747 via CL 5659748 via CL 5659749 via CL 5659823

[CL 5659843 by mark satterthwaite in Main branch]
2019-03-29 22:32:23 -04:00
alexis matte
9b640e5c44 Make sure the imposter materials are assign properly when there is more then one different imposter in the HLOD.
#rb none


#ROBOMERGE-SOURCE: CL 5659664 via CL 5659665 via CL 5659666 via CL 5659667 via CL 5659711

[CL 5659716 by alexis matte in Main branch]
2019-03-29 21:34:29 -04:00
alexis matte
4a75e4824b Fix the imposter mesh merge
#rb none


#ROBOMERGE-SOURCE: CL 5659536 via CL 5659537 via CL 5659538 via CL 5659539 via CL 5659639

[CL 5659641 by alexis matte in Main branch]
2019-03-29 20:53:37 -04:00
alexis matte
53aed53d80 Fix HLOD proxy build assert
#rb none


#ROBOMERGE-SOURCE: CL 5639421 via CL 5639422 via CL 5639423 via CL 5639656 via CL 5640999

[CL 5647746 by alexis matte in Main branch]
2019-03-29 13:32:05 -04:00
daniel lamb
9e6a72c368 Made the pak file binary compatible with previous version to reduce patch sizes.
Reenabled oodle compression in 8.30 for android, ios and switch.
Cleaned up unrealpak commandline when run from UAT.
#rb Josh.Adams
[FYI] Ben.Marsh, Andrew.Grant


#ROBOMERGE-SOURCE: CL 5619788 via CL 5619815 via CL 5619821 via CL 5619827 via CL 5623747

[CL 5623814 by daniel lamb in Main branch]
2019-03-27 21:08:44 -04:00
alexis matte
1f50166b38 fix from 4.22 cl:5317646
Fix MeshMergeUtilities when remapping polygon group
#jira UE-71016
#rb none


#ROBOMERGE-SOURCE: CL 5518756 via CL 5518757 via CL 5518962

[CL 5535932 by alexis matte in Main branch]
2019-03-25 14:06:35 -04:00
alexis matte
2875a3c6c6 Fix the GenerateUniqueUVsForStaticMesh when there is some duplicate polygon and we remove them, we must avoid Compacting the Polygon so the Remap VertexInstanceID is still valid.
There was a second crash after this one where the code did not call RegisterMeshAttribute on a newly created FMeshDescription.
#jira UE-71929
#rb none


#ROBOMERGE-SOURCE: CL 5504837 via CL 5504994 via CL 5517943

[CL 5535766 by alexis matte in Main branch]
2019-03-25 14:01:20 -04:00
alexis matte
604ebe6ee1 Cherry pick 4.22 release fix (cl: 5337966)
Fix the packing of UV, make sure the temporary destination has enough indices to receive the new computed UVLightMap
#jira UE-71048
#rb none


#ROBOMERGE-SOURCE: CL 5503577 via CL 5503581 via CL 5504282

[CL 5535606 by alexis matte in Main branch]
2019-03-25 13:56:06 -04:00
mark satterthwaite
63dca5adc0 Fix Metal shader translation bugs:
- Texture*Array.Load needs to split the array index out of the vector coordinate for Metal.
- The GetDimensions function needs to support the array-length/depth output argument.
- RemovePackedVarReferences was inserting new variables at the top of the function, not the same scope as the source variable, which won't compile in cases where structs are used as temporaries and not function arguments.

#rb none


#ROBOMERGE-SOURCE: CL 5502462 via CL 5503115

[CL 5535524 by mark satterthwaite in Main branch]
2019-03-25 13:53:06 -04:00
alexis matte
2808c97a36 Fix the specific content re-import to show the open file dialog before the import option dialog
#jira UE-71845
#rb none


#ROBOMERGE-SOURCE: CL 5495880 via CL 5496499 via CL 5498979

[CL 5499090 by alexis matte in Main branch]
2019-03-21 21:42:41 -04:00
allan bentham
f493ceffe4 Renable HLSLCC_GroupFlattenedUniformBuffers for android GLES shaders.
#rb none
[FYI] Rolando.Caloca, Dmitriy.Dyomin


#ROBOMERGE-SOURCE: CL 5493548 via CL 5493549 via CL 5494682

[CL 5494718 by allan bentham in Main branch]
2019-03-21 14:30:39 -04:00
ben marsh
12addcdfb3 LiveCoding: Fix unnecessary newlines on log messages.
#jira


#ROBOMERGE-SOURCE: CL 5492012 via CL 5492936

[CL 5492937 by ben marsh in Main branch]
2019-03-21 11:49:46 -04:00
hongyi yu
6e46797857 Added support for per-platform mapping from chunkid to pakchunk index. Part 1
- This feature allows different chunk layout on different platforms.
- Most mapping work is done in AssetRegistryGenerator.
- Terminology of ChunkID and Pakchunk Index are now separated and they are no longer the same if chunk id to pakchunk index mapping is defined.  The ChunkIDs in FAssetData is not renamed to keep consistency, but it actually is pakchunk index.  FAssetData.ChunkIDs is used for ChunkInstall.
- Chunks with encryption key guid or unique assetregistry name are not allowed to be mapped.  There are code to filter out those chunks and log errors while initializing mapping
- CheckChunkAssetsAreNotInChild() and ResolveChunkDependencyGraph() is skipped when making build for XboxOne and PS4, since they are not needed.  If for some reason, we need chunk dependency on console builds, we need to implement per-platform dependency graph, since now we support different chunk layout on different platforms.
- Disabled a few pak file overide rules for console builds, since they should only be applied to builds with Kairos chunk layout.

#test A preflight was kicked and tested on PS4 and XboxOne.  No new issue was found.
#rb Daniel.Lamb


#ROBOMERGE-SOURCE: CL 5470414 via CL 5474050

[CL 5474308 by hongyi yu in Main branch]
2019-03-20 13:11:58 -04:00
cosmin sulea
53a0dc23c6 UE-69183 - iOS Device Output Log doesn't recover previously disconnected device
#jira UE-69183
#rb Jack.Porter
#lockdown nick.penwarden

#ROBOMERGE-SOURCE: CL 5466613 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5466614 by cosmin sulea in Main branch]
2019-03-20 04:40:35 -04:00