Commit Graph

264 Commits

Author SHA1 Message Date
Zousar Shaker
cf116088ae Integrating //UE5/Dev-Cooker @ 16678003 to //UE5/Main (Zousar.Shaker-YEG-0943-Quaternary)
Non-DevIteration_ShooterGame

[CL 16678907 by Zousar Shaker in ue5-main branch]
2021-06-15 16:36:57 -04:00
Devin Doucette
c1c9a493c0 CompactBinary: Added validation to LoadCompactBinary and removed asserts from the other load functions
#rb Zousar.Shaker
#rnx
#preflight 60bc53b70249c30001c6a20e

[CL 16570338 by Devin Doucette in ue5-main branch]
2021-06-07 10:28:39 -04:00
Devin Doucette
85e69c801f CompactBinary: Added operator[] to field types and AsView() to buffer types
#rb Zousar.Shaker
#rnx

[CL 16553590 by Devin Doucette in ue5-main branch]
2021-06-03 17:27:38 -04:00
Devin Doucette
eb2cda6fba Added conversions and constructors to/from 12-byte arrays for FCbObjectId and DerivedData::FPayloadId
#rb Zousar.Shaker
#rnx

[CL 16536271 by Devin Doucette in ue5-main branch]
2021-06-02 13:06:45 -04:00
Devin Doucette
e2aaddd829 CompactBinary: Made buffers and views easier to use by eliminating the complex options
- Renamed TryGetSerialized[Range]View to TryGet[Range]View.
- Changed GetBuffer to return a composite buffer with the type.
- Changed GetView to be protected instead of public.
- Removed GetRangeBuffer and GetRangeView.

#rb Zousar.Shaker
#rnx
#preflight 60b796cac744b20001542535

[CL 16535362 by Devin Doucette in ue5-main branch]
2021-06-02 11:55:09 -04:00
Matt Peters
425c24ebdd EditorDomain: Fix version warning when receiving EditorDomain packages from other users on the shared DDC.
Warning: Asset has been saved with a newer engine and can't be loaded.
#rb Zousar.Shaker
#rnx

[CL 16534179 by Matt Peters in ue5-main branch]
2021-06-02 10:24:44 -04:00
Devin Doucette
490a4a0db2 CompactBinary: Restricted compact binary attachments to objects to simplify package management
#rb Zousar.Shaker
#rnx
#preflight 60b71447ae46a1000144f1d9

[CL 16533710 by Devin Doucette in ue5-main branch]
2021-06-02 09:33:55 -04:00
Devin Doucette
b6ec26467a CompactBinary: Renamed Type to TypeWithFlags and clarified its protected accessors
#rb Zousar.Shaker
#rnx
#preflight 60b69a12107dc6000169dd74
#preflight 60b69a12107dc6000169dd74

[CL 16524004 by Devin Doucette in ue5-main branch]
2021-06-01 17:56:06 -04:00
Devin Doucette
b1ddb00d6e CompactBinary: Renamed CompactBinaryAttachment to ObjectAttachment
This is a purely mechanical change to update names and comments. There is no behavioral difference in this change. A subsequent change will modify the behavior to match the new name.

#rb trivial
#rnx

[CL 16510518 by Devin Doucette in ue5-main branch]
2021-05-31 15:19:40 -04:00
aurel cordonnier
43fa62fcd8 Merge from Release-Engine-Test @ 16487383 to UE5/Main
This represents UE4/Main @ 16445039 and Dev-PerfTest @ 16444526

[CL 16488106 by aurel cordonnier in ue5-main branch]
2021-05-27 13:40:37 -04:00
Ben Ingram
c249923be9 Don't call destructors when destroying frozen objects
- Frozen memory images may have de-duplicated sections, where the same object is referenced multiple times; this means default destructors might be called multiple times, which is not supported in general
- Add a hook to allow custom behavior to destroy frozen objects that may hold references to external resources
- Within shader system, no need to run destructors, since all memory should be owned by the top-level memory image
#jira none
#rb arciel.rekman, charles.bloom

[CL 16278300 by Ben Ingram in ue5-main branch]
2021-05-11 15:12:06 -04:00
Devin Doucette
3696e1f7e6 CompactBinary: Changed Get[Range]Hash(FBlake3&) to Append[Range]Hash(FBlake3&)
#rb Matt.Peters
#rnx
#preflight 60901f8c6aab1a0001d12d0f

[CL 16185309 by Devin Doucette in ue5-main branch]
2021-05-03 13:26:26 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
Devin Doucette
8b5cccda61 CompactBinary: Made IsHash treat an attachment as a hash
#rb Zousar.Shaker
#rnx
#preflight 608056308737300001606ccd

[CL 16076843 by Devin Doucette in ue5-main branch]
2021-04-21 13:32:48 -04:00
Devin Doucette
14f57480b2 CompactBinary: Added explicit operator bool for array and object types
#rb Zousar.Shaker
#rnx
#preflight 607f45d88737300001a70819

[CL 16069971 by Devin Doucette in ue5-main branch]
2021-04-21 00:19:30 -04:00
Devin Doucette
aa52dbb108 VarInt: Add support for FArchive
#rb Arciel.Rekman
#rnx
#preflight 607d15d8d7af9b0001f104cc

[CL 16050148 by Devin Doucette in ue5-main branch]
2021-04-19 09:12:47 -04:00
Ben Ingram
bb1a6e953e When copying FHashedName, avoid making shallow copy of frozen debug string. Instead make sure the copy is pointing to an interned string
#jira none
#rb charles.bloom

[CL 16041619 by Ben Ingram in ue5-main branch]
2021-04-16 18:44:16 -04:00
Devin Doucette
b49d5a4033 CompactBinary: Improved usability and performance of field iterators
#rb Zousar.Shaker
#rnx
#preflight 6076120fd546e90001f5d657

[CL 16005853 by Devin Doucette in ue5-main branch]
2021-04-14 11:19:18 -04:00
mark lintott
bd61859350 #jira 112822
#rb johan.torp
Removal of UE4 references in Archive.h

[CL 16002350 by mark lintott in ue5-main branch]
2021-04-14 05:14:13 -04:00
Devin Doucette
308f312490 CompactBinary: Added CompositeBuffer overloads and made non-view arrays and objects behave more consistently
#rb Zousar.Shaker
#rnx

[CL 15983785 by Devin Doucette in ue5-main branch]
2021-04-12 17:20:30 -04:00
Devin Doucette
fa8250517d SharedBuffer: Added MoveToShared() and MoveToUnique() to convert between buffer types
#rb Matt.Peters
#rnx

[CL 15917930 by Devin Doucette in ue5-main branch]
2021-04-05 12:38:27 -04:00
arciel rekman
15bdbcab95 Roll back memory reservation when writing memory images.
- Spikes of up to 8.9GB have been reported, and the CPU savings aren't worth that.

#rb Danny.Couture
[FYI] Ben.Ingram, Danny.Couture
#jira none

#ROBOMERGE-SOURCE: CL 15875731 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15875743 by arciel rekman in ue5-main branch]
2021-03-31 11:28:02 -04:00
Arciel Rekman
d35ed834aa Change shader jobs' input hash to Blake3.
- Also unified FSHA* and FBlake3* functions somewhat.

#rb Jason.Nadro, Ben.Ingram, Devin.Doucette
#jira UE-110824 (broadly)
[REVIEW] [at]Jason.Nadro, [at]Ben.Ingram, [at]Devin.Doucette

#ROBOMERGE-OWNER: Arciel.Rekman
#ROBOMERGE-AUTHOR: arciel.rekman
#ROBOMERGE-SOURCE: CL 15808025 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)
#ROBOMERGE-CONFLICT from-shelf

[CL 15814317 by Arciel Rekman in ue5-main branch]
2021-03-24 21:21:41 -04:00
arciel rekman
23386736ce Minor optimizations to the memory image writing (UE-110824)
- Flatten memory image sections in parallel and preallocate the array for writing.
- Memory image writing is currently happening on the game thread and either moving it out or optimizing is critical.
- Makes flattening about 3x faster on the test asset (~90ms -> ~30ms)

#rb Ben.Ingram
#jira UE-110824
[at]Ben.Ingram, [at]Jason.Nadro

#ROBOMERGE-SOURCE: CL 15761836 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15773710 by arciel rekman in ue5-main branch]
2021-03-23 05:13:38 -04:00
Marc Audy
8f73cd7fa9 Merge UE5/Release-Engine-Staging @ 15630841 to UE5/Main
This represents UE4/Main @ 15601601

[CL 15631170 by Marc Audy in ue5-main branch]
2021-03-05 19:27:14 -04:00