Commit Graph

8811 Commits

Author SHA1 Message Date
charles bloom
a66a4ea953 fix check for compressionformats and compressionformat that could cause incorrect logging
#rb none

[CL 16887869 by charles bloom in ue5-main branch]
2021-07-19 15:42:54 -04:00
Jamie Dale
26ecf0e7b9 Fixed single-property config updates failing to remove entries that were no longer needed as they matched the CDO
The UObject would write the correct config state, but UpdateSinglePropertyInSection would fail to remove the data for the updated key as it (correctly) wasn't present in the config being applied. This change has it remove the key from the config section if it exists.

#jira UE-119534
#rb Brooke.Hubert, Matt.Peters

[CL 16884096 by Jamie Dale in ue5-main branch]
2021-07-19 11:29:39 -04:00
charles bloom
7906036da8 OodleDataCompression in Core
All games now use Engine Oodle for runtime decompression
Oodle in Engine can load an older Oodle DLL for encoding packages to keep making the same binary data

#rb dan.thompson,devin.doucette

[CL 16879404 by charles bloom in ue5-main branch]
2021-07-18 13:26:14 -04:00
Ben Woodhouse
843efcdb93 Fix for filesystem memory leak
#jira UE-117562
#preflight 60f2bd3a35476b00013cbfaf

[CL 16877917 by Ben Woodhouse in ue5-main branch]
2021-07-17 08:03:18 -04:00
yangke li
0a48229025 add RGB555A1 texture format support(not supported on Mac)
useful for RVT on mobile platforms, to save the cost of runtime compression
#rb Dmitriy.Dyomin mihnea.balta

[CL 16872220 by yangke li in ue5-main branch]
2021-07-16 11:38:24 -04:00
danny chapman
87aa2651b7 Allow non-zero default to GetSafeNormal
#rb jimmy.andrews

[CL 16868562 by danny chapman in ue5-main branch]
2021-07-15 18:11:43 -04:00
Devin Doucette
c376f4af0a Fixed warnings from static analysis
#rb trivial
#rnx

[CL 16861614 by Devin Doucette in ue5-main branch]
2021-07-15 09:21:52 -04:00
Devin Doucette
9cdc0a47f9 xxHash: Added FXxHash64[Builder] and FXxHash128[Builder] wrappers for XXH3
#rb Zousar.Shaker
#rnx
#preflight 60ef088140ede30001f0b0e9

[CL 16855816 by Devin Doucette in ue5-main branch]
2021-07-14 17:33:40 -04:00
Devin Doucette
88ab22d113 CompactBinary: Fixed crashes in TCbBuffer and FCbField
- Fixed a crash when TCbBuffer::CreateIterator() is called on an empty array or object.
- Fixed a crash when FCbField::operator[] is called for field name that does not exist in the array or object.

#rb Matt.Peters
#rnx

[CL 16855814 by Devin Doucette in ue5-main branch]
2021-07-14 17:33:30 -04:00
Per Larsson
cd7e077d77 Simplify command line arguments when running COTF with Zen loader/storage server
- changed Cooker arguments from -CookOnTheFly -IoStore to -CookOnTheFly -ZenStore
- changed Zen host argument from -StorageServerHost to -ZenStoreHost
- updated UAT to support running CBTB with -ZenStore
- updated StorageServerConnection to handle multiple hosts from command line

Cooker:
  CBTB: -ZenStore
  COTF: -ZenStore -CookOnTheFly

Game:
  CBTB: -ZenStoreHost=<ip> or <ip1,ip2>
  COTF: -ZenStoreHost=<ip> or <ip1,ip2> -CookOnTheFly

#rb CarlMagnus.Nordin
#jira none
#rnx

[CL 16849969 by Per Larsson in ue5-main branch]
2021-07-14 10:38:23 -04:00
Steve Robb
bdfb2b5d1d FMemoryWriter64 for writing to TArray64.
#jira UE-58354
#rb james.hopkin

[CL 16849012 by Steve Robb in ue5-main branch]
2021-07-14 08:48:28 -04:00
David Harvey
17bca4bec2 a couple more fixes to ensure WindowsHWrapper is included on all Microsoft platforms.
#jira UE-118341
#rnx
#rb trivial

[CL 16847014 by David Harvey in ue5-main branch]
2021-07-14 04:51:54 -04:00
Andrew Davidson
59ab3c56ea LWC: Temporarily enforce float FVector::NetSerialize-ation allowing replays to work across LWC enabled/disabled builds.
#fyi ben.woodhouse
#preflight 60ede2c4925f14000182e1a8

[CL 16842270 by Andrew Davidson in ue5-main branch]
2021-07-13 16:27:26 -04:00
jeanfrancois dube
a017fe4c5c Added support for specifying a log category in UE_SCOPED_TIMER.
#rb patrick.enfedaque
#preflight 60eddff1caf05900017dc03a


#ROBOMERGE-SOURCE: CL 16841730
#ROBOMERGE-BOT: (v836-16769935)

[CL 16841980 by jeanfrancois dube in ue5-main branch]
2021-07-13 16:11:18 -04:00
jeanfrancois dube
09358ab332 SceneComponent bounds calculation optimizations:
- Added bComputeFastLocalBounds: when set, the component will use its current bounds transformed back into local space instead of calling CalcBounds with an identity transform.
- Added bComputeBoundsOnceDuringCook: when set, this component will cache its bounds during cooking and never recompute it for cooked builds. This is for components that are known to be static.
- Set both of theses flags automatically to all HLODs components; this greatly reduce the cost of recomputing bounds for HLODs (GT and RT).

#rb sebastien.lussier, richard.malo
#preflight 60edcf7819a0060001145664


#ROBOMERGE-SOURCE: CL 16840643
#ROBOMERGE-BOT: (v836-16769935)

[CL 16841810 by jeanfrancois dube in ue5-main branch]
2021-07-13 16:06:08 -04:00
zach bethel
f311bbc7a1 RDG Parallel Execution (disabled by default)
- Refactored RDG to support free-threaded execution of passes.
 - Refactored renderer to use specific RHI command list variants in pass lambda. Immediate command list passes are forced to stay on the render thread, while other variants can be parallelized.

#rb christopher.waters

[CL 16838717 by zach bethel in ue5-main branch]
2021-07-13 12:38:27 -04:00
Zak Middleton
cd3c2e492d #ue5 - Disable AVX in UnrealMathSSE to unblock builds. 32-byte alignment causes FTransform size to mismatch the script-struct / noexporttypes size, and blows up. Changes from LWC branch will fix this.
#fyi Andrew.Davidson
#jira UE-119428

[CL 16838417 by Zak Middleton in ue5-main branch]
2021-07-13 12:11:32 -04:00
erebel55
9b5fd42d4c PR #8108: Replay compatible change list override (Contributed by erebel55)
#rb brian.bekich

[CL 16838316 by erebel55 in ue5-main branch]
2021-07-13 12:04:11 -04:00
Devin Doucette
783847bbda Added a FMemoryView constructor to FMemoryReaderView
#rb Zousar.Shaker
#rnx
#preflight 60eca70e57b3020001914233

[CL 16836485 by Devin Doucette in ue5-main branch]
2021-07-13 09:21:14 -04:00
David Harvey
c48909eaf1 move MinimalWindowsApi header/source from Windows folder to Microsoft folder, allowing it to be used on all Microsoft platforms.
#jira UE-118341, UE-111460
#rnx
#rb eric.mcdaniel

[CL 16835478 by David Harvey in ue5-main branch]
2021-07-13 06:02:46 -04:00
Michael Noland
6284d812b4 Fixing non-unity issue with missing include/forward decl for FString in LogVerbosity
(horde# 85342)
#rnx

[CL 16834580 by Michael Noland in ue5-main branch]
2021-07-12 22:43:15 -04:00
brett miller
5e08c5e788 ChaosCaching
-- Strip  out MassToLocal transform from older GeometryCollection caches

#jira FROST-2674
#rb benn.gallagher
#fyi brice.criswell

[CL 16833406 by brett miller in ue5-main branch]
2021-07-12 19:23:13 -04:00
Michael Noland
12c4b10e37 Core: Made the verbosity of the unintialized reflected property check configurable via ini
- Issues with UObject* properties are upgraded from Warning to Error
- Other types remain the same for both engine and project modules (Display), but engine will soon change to Error as well

Settings can be overridden for either project or engine modules in DefaultEngine.ini (engine defaults are in BaseEngine.ini), e.g.,

[CoreUObject.UninitializedScriptStructMembersCheck]
EngineModuleReflectedUninitializedPropertyVerbosity=Error
ProjectModuleReflectedUninitializedPropertyVerbosity=Warning

#rb marc.audy

[CL 16826159 by Michael Noland in ue5-main branch]
2021-07-12 11:49:03 -04:00
krzysztof narkowicz
3714db3ea2 Added per platform setting to toggle distance field support. If it's disabled then no distance data will be cooked and distance fields will be disabled on the target platform.
Renamed FDataDrivenPlatformInfo::AudioCompressionSettingsIniSectionName to TargetSettingsIniSectionName. It's now used to populate PlatformMask at runtime, to make sure that it matches between cook and runtime. Before it was possible to cook with e.g. GRayTracingPlaformMask=0, but then the cooked game would run with GRayTracingPlaformMask=1.

#rb Patrick.Kelly
[FYI] Patrick.Kelly, Daniel.Wright, Josh.Adams


#ROBOMERGE-OWNER: krzysztof.narkowicz
#ROBOMERGE-AUTHOR: krzysztof.narkowicz
#ROBOMERGE-SOURCE: CL 16825469
#ROBOMERGE-BOT: (v836-16769935)
#ROBOMERGE-CONFLICT from-shelf

[CL 16825718 by krzysztof narkowicz in ue5-main branch]
2021-07-12 11:20:21 -04:00
ionut matasaru
338b2dc613 [Insights]
- Fixed the trace of scope cycle counters for UObject to be enabled everywhere where FScopeCycleCounterUObject is used switced by Stats::IsThreadCollectingData().
  - Fixed UObject::CallFunction to trace UObject name for Insights only when GVerboseScriptStats is on.

#rb Catalin.Dragoiu
#fyi Johan.Berg, Jeff.Farris

[CL 16824659 by ionut matasaru in ue5-main branch]
2021-07-12 09:22:58 -04:00