Commit Graph

744 Commits

Author SHA1 Message Date
aurel cordonnier
d17d20ca36 Merge from Release-Engine-Test @ 16758890 to UE5/Main
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)

[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
eric mcdaniel
1f74d01322 Promote very large page allocator settings from FN to system and platform defaults
System default changes:
  - UE_VERYLARGEPAGEALLOCATOR_TAKEONALL64KBALLOCATIONS defaults to enabled
  - UE_VERYLARGEPAGEALLOCATOR_PAGESIZE_KB defaults to 2MB

#rb Dan.Phillips, David.Harvey
#jira none

[CL 16748670 by eric mcdaniel in ue5-main branch]
2021-06-22 16:31:14 -04:00
danny couture
89e1e871ad Exclude mimalloc.c from static analysis
Fix typo where double slash were used

#rnx
#rb trivial
#preflight 60d1fe1fbe81e80001837c38

[CL 16744965 by danny couture in ue5-main branch]
2021-06-22 12:48:16 -04:00
eric mcdaniel
3a04685abe Bug fix, make the amount of address space reserved by the CachedOSVeryLargeAllocator configurable
#jira UE-112523
#fyi dan.phillips
#ushell-cherrypick of 16727327 by Dan.Phillips

[CL 16735440 by eric mcdaniel in ue5-main branch]
2021-06-21 18:32:17 -04:00
Brandon Schaefer
da6e2eb1e2 Rename LinuxAArch64 to LinuxArm64
#jira UE-118127
#rb Michael.Sartain
#fyi Marc.Audy, Aurel.Cordonnier

[CL 16660821 by Brandon Schaefer in ue5-main branch]
2021-06-14 13:39:47 -04:00
aurel cordonnier
e0ad4e25df Merge from Release-Engine-Test @ 16624776 to UE5/Main
This represents UE4/Main @ 16579691 and Dev-PerfTest @ 16579576

[CL 16625248 by aurel cordonnier in ue5-main branch]
2021-06-10 13:13:24 -04:00
Zak Middleton
dbd4f3ea3a #ue5 - LWC: add platform flag for AVX2 feature level, and enable AVX2 on next-gen consoles.
[CL 16575354 by Zak Middleton in ue5-main branch]
2021-06-07 15:05:37 -04:00
danny couture
f358a5d8a4 Include mimalloc compilation as part of the core module instead of relying on prebuilt binaries
- This will make maintenance for multiple platforms a lot easier (i.e. just preflight)
  - Will be easy to get callstack and debug since it will be compiled on the machine it is debugged on
  - Easier to try out modifications on mimalloc itself
  - Fix mimalloc compilation under Clang 10
  - Fix mimalloc inconsistent usage of MI_ENCODE_FREELIST define
  - Fix mimalloc inconsistent usage of _WIN32 define
  - Implement MacOS and Unix -mimalloc command-line switch

- Some MacOS changes were contributed by Will.Damon

#rb Brandon.Schaefer, Will.Damon
#preflight 60b4ea613c6c4e000158233e
#rnx

[CL 16512512 by danny couture in ue5-main branch]
2021-06-01 05:35:42 -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
Steve Robb
cd7cdf1964 UTF8CHAR is now a char8_t on compatible compilers and a unique type in other cases.
UTF8TEXT() macro.

#rb devin.doucette
#jira none

[CL 16487510 by Steve Robb in ue5-main branch]
2021-05-27 13:05:06 -04:00
Steve Robb
63dc47c66c UE_CONSTEVAL macro.
#jira none
#rb none

[CL 16478693 by Steve Robb in ue5-main branch]
2021-05-26 20:12:17 -04:00
Andriy Tylychko
ad35ea4b68 * added methods to get/return "raw" events (as opposite to "safe" events) from/to FEventPool, refactored FScopedEvent and FEventRef to avoid unnecessary memalloc
* removed EEventPoolTypes as we already have equivalent EEventMode
* added FSharedEventRef that is ref-counted and takes an event from the global pool. Is required as FEventPool is in a private header so not directly accessible from user code

#rb steve.robb francis.hurteau

[CL 16469357 by Andriy Tylychko in ue5-main branch]
2021-05-26 10:44:27 -04:00
danny couture
f84c95c78e Compilation time optimization
- Split extremely long function into multiple parts to improve codegen time
  - 22.04s -> 11.14s for LowLevelMemTracker.cpp
  - 20.40s -> 13.62s for Module.Core.4_of_17.cpp

#rb Ionut.Matasaru, Matt.Peters
#preflight 60ada3e78194e7000162a8d4

[CL 16466128 by danny couture in ue5-main branch]
2021-05-26 05:36:41 -04:00
Ben Woodhouse
7e743dcf40 LLM FLlmCsvProfilerWriter implementation for UE5
- LLM stats are now written to the CSV profiler if it's running
- Default tracker stats appear in the LLM/ category
- Platform tracker stats appear in the LLMPlatform/ category
#jira FORT-374346
#rb matt.peters
#tests presubmit

[CL 16355433 by Ben Woodhouse in ue5-main branch]
2021-05-17 13:43:32 -04:00
Steve Robb
60a6b175b9 Some extra support for UTF8CHAR and related compile time checks for char encodings.
#rb devin.doucette
#jira none

[CL 16302591 by Steve Robb in ue5-main branch]
2021-05-12 14:03:41 -04:00
Andrew Davidson
3ddc3a4da3 Merge up from //UE5/Dev-LargeWorldCoordinates
#rb none

[CL 16211417 by Andrew Davidson in ue5-main branch]
2021-05-05 15:07:25 -04:00
Andriy Tylychko
9f1cf3eabf re-deprecated FPlatformProcess::CreateSynchEvent(), now on all platforms. Replaced FEvent* by FEventRef where it made sense. Deprecated FEvent::Create() as another method to bypass the event pool
#rb steve.robb

[CL 16163267 by Andriy Tylychko in ue5-main branch]
2021-04-29 18:52:48 -04:00
arne schober
26fc2579c6 U5EA - Don't use IsInActualRenderingThread because it is used in so many places that actual tagging is implactical ATM
#jira UE-113690
#lockdown mihnea.balta
#rb mihnea.balta

#ROBOMERGE-SOURCE: CL 16115451 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v789-15992632)

[CL 16115477 by arne schober in ue5-main branch]
2021-04-26 12:38:47 -04:00
Steve Robb
d885264793 Removal of unnecessary ESPMode::Fast.
#rb none
#jira none

[CL 16112615 by Steve Robb in ue5-main branch]
2021-04-26 05:37:41 -04:00
christopher waters
2f132565b1 Tessellation Removal: Removing various leftover Tessellation code.
#jira UE-94564
#rb mihnea.balta
#preflight 608043e687373000015502b2

[CL 16080287 by christopher waters in ue5-main branch]
2021-04-21 16:11:32 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
christopher waters
1d0b1d44eb Initial support for Mesh and Amplification Shaders. These new shader types are an optional feature of the RHIs and are only enabled on PC D3D12 with Feature Level SM6.
#jira none
#rb emil.persson, graham.wihlidal, lukas.hermanns

[CL 15742432 by christopher waters in ue5-main branch]
2021-03-18 18:42:49 -04:00
Marc Audy
0cbbc781ca Merge UE5/Release-Engine-Staging @ 15740152 to UE5/Main
This represents UE4/Main @ 15709114

[CL 15740605 by Marc Audy in ue5-main branch]
2021-03-18 15:20:03 -04:00
jack porter
7be32466df Fix issue with FShaderPlatformCachedIniValue reading several bool cvars as ints, disabling them if they are assigned =True in the ini file.
#jira UE-111007
#rb Wei.Liu
[FYI] Mickael.Gilabert, Florin.Pascu
#p4v-cherrypick 15734856

[CL 15734877 by jack porter in ue5-main branch]
2021-03-18 00:22:41 -04:00
Andriy Tylychko
5cada42a4e Tasks: pipe implementation incompatible with old TaskGraph API. Implemented directly over LowLevelTasks.
Pipe is a chain of tasks that are executed one after another and so can be used for synchronised access to a shared resource. Should be used instead of dedicated threads as much as possible.

#rb steve.robb arne.schober

[CL 15700278 by Andriy Tylychko in ue5-main branch]
2021-03-15 16:47:30 -04:00