Commit Graph

10070 Commits

Author SHA1 Message Date
steve robb
288f3de432 Fixes for the implicit conversion of ints and chars to TCHARs in UTF-8 mode.
#rb trivial
#preflight 621ed0b4e15c51d8c5e5d081

#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19219816 via CL 19220283 via CL 19220288 via CL 19223679
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19227684 by steve robb in ue5-main branch]
2022-03-02 15:30:50 -05:00
robert millar
c92ae0a568 Fix calculation of number of partitions for iostore containers to use end of last block rather than start of last block.
[REVIEW] [at]mickael.gilabert
[FYI] carlmagnus.nordin

#localization none
#tests staged & run windows server locally

#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 19215022 via CL 19215034 via CL 19215053 via CL 19216736 via CL 19216776 via CL 19216795
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19225352 by robert millar in ue5-main branch]
2022-03-02 14:02:57 -05:00
roey borsteinas
2c69611817 Water Info Rendering:
- Decoupled the rendering of the water information texture (flow,depth,shape data) from the landscape completely.
- Implemented separate render passes leveraging the SceneRenderer interface to draw the water data at runtime.
- Water Body components now have custom scene proxies which contain the geometry describing that water body as well as a small dilation region to solve undersampling issues with the water info texture.
- Old WaterVelocityTexture has been deprecated and is no longer contains data

#rb jonathan.bard, kevin.ortegren
#preflight 621d09505d17e9af12f34fdb
#jira UE-132229

#ROBOMERGE-OWNER: roey.borsteinas
#ROBOMERGE-AUTHOR: roey.borsteinas
#ROBOMERGE-SOURCE: CL 19201361 via CL 19209878 via CL 19209887 via CL 19210914
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19223873 by roey borsteinas in ue5-main branch]
2022-03-02 12:58:54 -05:00
Andriy Tylychko
1433b7643c ParalleFor doesn't go wider than number of cores
#jira FORT-454706
#rb arne.schober, jordan.cristiano
#preflight 621f904d37049be51729b25f

[CL 19222139 by Andriy Tylychko in ue5-main branch]
2022-03-02 10:58:06 -05:00
danny couture
48350e3e5f Add insights traces on pipe tasks for audio and stats
#rb Andriy.Tylychko
#preflight 621f6fe8e15c51d8c5fa66c8

[CL 19221338 by danny couture in ue5-main branch]
2022-03-02 09:32:54 -05:00
steve robb
d670fa5d4a Fix for 'TEXT() TEXT()' usage in ConsoleManager.cpp, which doesn't compile in UTF-8 mode.
#rb trivial

#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19197855 via CL 19203358 via CL 19207361 via CL 19210854
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19215692 by steve robb in ue5-main branch]
2022-03-01 21:35:50 -05:00
matt breindel
6ecea35606 Creating RoundToNearestTiesToEven platform math function
#rb tim.tillotson josh.adams
#rnx
#p4v-preflight-copy 19180977
#preflight 621d50d8d815cc2f95fda3ca (submitting directly due to unrelated failures)
#skipci

#ROBOMERGE-AUTHOR: matt.breindel
#ROBOMERGE-SOURCE: CL 19188335 via CL 19193065 via CL 19194327 via CL 19205339 via CL 19209012
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19215242 by matt breindel in ue5-main branch]
2022-03-01 21:21:53 -05:00
brian white
092b97bb00 Allow platforms to disable the use of FAlignedAllocator and thus ANSIMalloc.cpp. Substitute FOsAllocator in this case.
#jira UE-141507
#rb Arne.Schober
#preflight 621916118849a7424f8e6431
#rnx

#ROBOMERGE-AUTHOR: brian.white
#ROBOMERGE-SOURCE: CL 19198520 in //UE5/Release-5.0/... via CL 19200458
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19214848 by brian white in ue5-main branch]
2022-03-01 21:05:30 -05:00
ola olsson
7b8bfe3c90 Add FBinaryHeap move constructor and delete copy constructor & assignment operator to prevent use-after free (e.g., due to failed return value optimization).
- Fixes crash in debug builds in the Nanite builder.

#jira UE-144196
#rb rune.stubbe
#preflight 621e01b43e14f0c7e53551d7

#ROBOMERGE-AUTHOR: ola.olsson
#ROBOMERGE-SOURCE: CL 19196777 in //UE5/Release-5.0/... via CL 19196815
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19212747 by ola olsson in ue5-main branch]
2022-03-01 19:54:36 -05:00
Marc Audy
c235503ff8 Fix for compile warning.
#rnx
#preflight 621d20d05d17e9af12f75e5d


#ROBOMERGE-AUTHOR: clayton.langford
#ROBOMERGE-SOURCE: CL 19180758 via CL 19181214 via CL 19182137 via CL 19183631 via CL 19184679
#ROBOMERGE-BOT: (v921-19075845)

[CL 19212462 by Marc Audy in ue5-main branch]
2022-03-01 19:47:52 -05:00
charles bloom
fabb392aca FBlockEncoder::Compress parallel enhanced
special case 1 block fast path
in multi-block case, run hash on thread too

#preflight 621e3c3ead75a7f58fc2a39e
#rb fabian.giesen

[CL 19207211 by charles bloom in ue5-main branch]
2022-03-01 16:50:24 -05:00
Devin Doucette
5068d79546 Logging: Fixed compile errors when FRWLock is the size of a cache line
#preflight 621e856b5824646acb640e7f
#rb Zousar.Shaker
#rnx

[CL 19207157 by Devin Doucette in ue5-main branch]
2022-03-01 16:48:10 -05:00
Dan Thompson
3af41336cd Adding support for querying the iostore TOC off of a writer instead of just a reader. This is to allow the staging process to find package information and write it back to an asset registry.
#preflight 621d3e7b9a5676d19a3fdd5d
#rb carl-magnus.nordin

[CL 19202453 by Dan Thompson in ue5-main branch]
2022-03-01 13:33:10 -05:00
Devin Doucette
40cc04948a Logging: Optimized the log redirector to handle logging from multiple threads more efficiently
Timing from a synthetic benchmark that logs 131,072 lines at Log verbosity using ParallelFor executing on 62 worker threads.
- Before: 160ms wall time, 73.2us/log
- After: 6.8ms wall time, 2.9us/log

#preflight 621e354bca28c556342a4661
#rb Zousar.Shaker

[CL 19202353 by Devin Doucette in ue5-main branch]
2022-03-01 13:28:11 -05:00
Devin Doucette
62d8cf86fa DepletableMpscQueue: Added an AllocatorType template parameter
The AllocatorType must have static void* Malloc(SIZE_T Size, uint32 Alignment) and static void Free(void*). This can be extended in the future to make the allocator a member if desired, without breaking compatibility with this version.

The default AllocatorType uses FMemory::Malloc and FMemory::Free.

#preflight 621e34c5e15c51d8c5d12f0f
#rb Andriy.Tylychko, Arne.Schober
#rnx

[CL 19201865 by Devin Doucette in ue5-main branch]
2022-03-01 13:07:41 -05:00
charles bloom
24c44d3173 OodleDataCompression VeryVerbose logging and some cleanup
#preflight 621e5072e15c51d8c5d3ded5
#rb none

[CL 19200528 by charles bloom in ue5-main branch]
2022-03-01 12:09:41 -05:00
charles bloom
43ae97e644 FBlockEncoder::Compress parallel for faster writing of large packages
#preflight 621d9e35ca28c556340c4ce4
#rb fabian.giesen

[CL 19197345 by charles bloom in ue5-main branch]
2022-03-01 09:03:27 -05:00
danny couture
5b1b53c0b3 Avoid stalling for long periods of time during map load and PIE
- Remove slowtask throttling during load as it could prevent meaningful top level slowtask to be created
  - Fix delayed slowtask that was never showing when children were added before the delay
  - Add missing slowtask handling on long gamethread functions to improve UI responsiveness
  - Add PIE preparation slowtask scopes
  - Test to make sure the total amount of time spent in all slowtask functions is reasonable (1s on a 2 minute map load)

#rb Jason.Nadro
#preflight 621e1ccf3e14f0c7e53fe337

[CL 19197334 by danny couture in ue5-main branch]
2022-03-01 09:02:24 -05:00
PJ Kack
23456e2db7 Add FGenericPlatformProcess::TerminateProcTreeWithPredicate() that enables killing a launched process tree while keeping some of the child processes alive.
#jira none
#rb carlmagnus.nordin
#rnx
#preflight 621df1fcf1206ae3ea3c23be

[CL 19196914 by PJ Kack in ue5-main branch]
2022-03-01 07:42:09 -05:00
Martin Ridgers
52b507dccd Fixed int64-to-float narrowing warning
#rb trivial
#rnx
#preflight 621df244f1206ae3ea3c266d

[CL 19196422 by Martin Ridgers in ue5-main branch]
2022-03-01 05:40:37 -05:00
marc audy
4dae64633a Custom FChange objects can now add referenced objects
#jira UE-114303
#rb Michael.Noland, Ben.Hoffman
#preflight 621a7563f81019873dcc8ec0
#lockdown julien.marchand

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 19176255 in //UE5/Release-5.0/... via CL 19177681
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19179800 by marc audy in ue5-main branch]
2022-02-28 14:45:03 -05:00
chris varnsverry
de4cae7a37 - Change OnConfigSectionChanged to OnConfigSectionsChanged, as it's far cheaper to fire once and have bindees do .Contains on the SectionNames.
[REVIEW] [at]Rob.Cannaday [at]Sam.Zamani

#ROBOMERGE-AUTHOR: chris.varnsverry
#ROBOMERGE-SOURCE: CL 19172414 via CL 19172416 via CL 19172423 via CL 19172425 via CL 19172627
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19172786 by chris varnsverry in ue5-main branch]
2022-02-28 09:01:40 -05:00
clayton langford
cef2480483 Fix for compile error in LowLevelMemTracker
#rnx
#pf none

#ROBOMERGE-AUTHOR: clayton.langford
#ROBOMERGE-SOURCE: CL 19148568 via CL 19149113 via CL 19149471 via CL 19149581 via CL 19160414
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19161670 by clayton langford in ue5-main branch]
2022-02-25 19:55:17 -05:00
clayton langford
4b603ee882 Added "DumpLLM" console command to capture the current values of all tracked LLM tags. Added functionality to LowLevelMemTracker to support this by adding accessor functions to retreive tags and their properties as well as refer to them by using FTagData pointers.
#rnx
#pf none
#test dumpllm, memreport -csv
#rb Matt.Peters, Jason.Nadro

#ROBOMERGE-AUTHOR: clayton.langford
#ROBOMERGE-SOURCE: CL 19147710 via CL 19148964 via CL 19149058 via CL 19149102 via CL 19160394
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19161666 by clayton langford in ue5-main branch]
2022-02-25 19:54:54 -05:00
devin doucette
096e40243a Fixed a compile error in String/Find.h
#rb none
#rnx

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 19150074 via CL 19150132 via CL 19159904
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19161656 by devin doucette in ue5-main branch]
2022-02-25 19:53:54 -05:00