Commit Graph

10394 Commits

Author SHA1 Message Date
ilya loshchinin
6bd4945ede Optimized StaticDuplicateObject by pooling its temporary memory block allocation.
Added FPooledLargeMemoryData that allows lockless access to temporary memory blocks.

#tests Squads games on WSL, using FramePro to validate performance gains
#rb danny.couture,jamie.dale

#ROBOMERGE-AUTHOR: ilya.loshchinin
#ROBOMERGE-SOURCE: CL 19970339 via CL 19971380 via CL 19972286
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19974304 by ilya loshchinin in ue5-main branch]
2022-04-28 21:18:27 -04:00
cedric caillaud
f2c5b1b18b Chaos : detsruction : better damage threshold generation
- damage threshold are now by default generated per GC piece and no more at the cluster level propagating to children
- added a checkbox to keep the compatibility with older assets
- this allow for finer artist control and make the size specific parameters to be more effective

#rb brice.criswell, max.whitehead
#jira none
#preflight 626a26172735a2c0eaeb68be

[CL 19973874 by cedric caillaud in ue5-main branch]
2022-04-28 20:20:32 -04:00
charles bloom
f6ad984437 ModuleManager behavior nop, clean up some checks and comment
#rb Matt.Kuhlenschmidt,Nick.Darnell
#preflight 626aa154ad56c0cbbea0bd2c

#ROBOMERGE-AUTHOR: charles.bloom
#ROBOMERGE-SOURCE: CL 19962645 via CL 19963201 via CL 19964509
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19971745 by charles bloom in ue5-main branch]
2022-04-28 18:53:40 -04:00
Brandon Schaefer
3403e680f4 Re-add but fix #ifdef --> #if
#jira none
#rb none
#preflight none

[CL 19969881 by Brandon Schaefer in ue5-main branch]
2022-04-28 17:43:40 -04:00
Brandon Schaefer
dc286b75d5 Remove code that breaks *.sym file paths for Unix platform
From CL 19498448

#jira none
#rb none
#fyi Chris.Constantinescu
#preflight none

[CL 19969741 by Brandon Schaefer in ue5-main branch]
2022-04-28 17:37:04 -04:00
rex hill
9037bc28da Fix path permission list not supporting trailing slashes
#rb jamie.dale
#preflight 6269ae4ff97c319bebaa29b1

#ROBOMERGE-AUTHOR: rex.hill
#ROBOMERGE-SOURCE: CL 19950128 via CL 19952250 via CL 19952269 via CL 19952290
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19968493 by rex hill in ue5-main branch]
2022-04-28 16:46:32 -04:00
brian white
e4a8fdf4ff Remove PLATFORM_PRESENT_HANG_DETECTION_ON_BY_DEFAULT. The last remaining consumer of this was removed with a previous CL.
#jira UE-149080
#rb Joe.Barnes
#rnx
#preflight 6269ad722d28b9d0f756093c

[CL 19966928 by brian white in ue5-main branch]
2022-04-28 15:22:34 -04:00
Devin Doucette
c8db2d77fe Logging: Added a workaround to log callstacks for failed assertions
#preflight 626ac3c5b17dd9121b406186
#rb Josh.Adams

[CL 19966435 by Devin Doucette in ue5-main branch]
2022-04-28 14:52:11 -04:00
nuno leiria
e285a188a9 Misc changes required to build consoles as modules
#rb trivial
#preflight 626a8f0e631e64c0b9021363

[CL 19960219 by nuno leiria in ue5-main branch]
2022-04-28 09:16:32 -04:00
Steve Robb
08af762488 Fix for broken assert strings in TArray64.
#rb martin.ridgers
#jira UE-150458
#preflight 626a7f37485a2fed3a2e07af

[CL 19958994 by Steve Robb in ue5-main branch]
2022-04-28 08:05:35 -04:00
martins mozeiko
0e1e107b8f Faster AES and SHA1 implementations using architecture speciifc instructions.
On x86 uses AESNI and SHA1 instructions detected with cpuid at runtime.
On ARMv8 uses NEON crypto instructions when enabled in compiler.

#rb fabian.giesen
#preflight 6269b1abcd0dacbe0e8c69b7

[CL 19948099 by martins mozeiko in ue5-main branch]
2022-04-27 17:52:21 -04:00
Zak Middleton
bd47021f04 #ue5 - Added VectorMod360(), for specific use by Rotator normalization where speed is more important than the stability of stock fmod() under extreme ranges. 30% - 75% faster depending on the intrinsics available to the alternate VectorMod().
Given that the second argument is always 360, we can remove some tests for bad ranges of input and use simple truncation/multiplication to compute the result, while retaining good accuracy within reasonable FRotator input value ranges.

#jira UE-129730
#preflight 62699851f97c319beba69337
#rb Dmytro.Vovk

[CL 19947858 by Zak Middleton in ue5-main branch]
2022-04-27 17:44:04 -04:00
Jon Olick
7ab430f96e Bink: merge from 4.27Plus. Bink now uses RHI backend.
#preflight

[CL 19947421 by Jon Olick in ue5-main branch]
2022-04-27 17:28:31 -04:00
joe barnes
2919cffe66 [Android] Enable Infinite loading screen detection. Enables minimal hang detector. Sets hang detector to 30s, which seems t be required to enable loading screen hang detection. Set loading screen hang detection to 3 minutes to start. Have seen normal loading screens take ~90 seconds.
#rb peter.sauerbrei

#ROBOMERGE-AUTHOR: joe.barnes
#ROBOMERGE-SOURCE: CL 19944160 via CL 19944210 via CL 19944218 via CL 19944226
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19945966 by joe barnes in ue5-main branch]
2022-04-27 16:15:35 -04:00
mihnea balta
a1d48e99c2 Report monitor resolution and scene viewport size in the log.
#rnx
#lockdown Michal.Valient
#jira UE-150364
#preflight https://horde.devtools.epicgames.com/job/62693ed52735a2c0ea700bbb
#rb Rolando.Caloca

#ROBOMERGE-AUTHOR: mihnea.balta
#ROBOMERGE-SOURCE: CL 19939381 in //UE5/Release-5.0/... via CL 19941154
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19945729 by mihnea balta in ue5-main branch]
2022-04-27 16:08:52 -04:00
jamie dale
7627b09605 Split the default state of FGameplayEventDescriptor to a separate non-property allocation
This avoids instances having a copy of the default data (which could be manipulated in the editor), and instead the default state is found via the archetype chain when needed at runtime. This does require that the EventContext type used by BroadcastEvent owns the FGameplayEventDescriptor property being used, and extra validation rules have been added to enforce this.

Note: This split was previously done for FGameplayEventFunction and follows that pattern.

#preflight 626944622735a2c0ea710140
#rb Rex.Hill
#rnx

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 19939730 via CL 19939743 via CL 19939753
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19945626 by jamie dale in ue5-main branch]
2022-04-27 16:06:19 -04:00
john huelin
9a625376b7 Improve 120fps Support
[REVIEW] [at]ben.woodhouse, [at]jeff.newquist
#rnx

#ROBOMERGE-OWNER: john.huelin
#ROBOMERGE-AUTHOR: john.huelin
#ROBOMERGE-SOURCE: CL 19939318 via CL 19939335 via CL 19939548 via CL 19939562
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19945613 by john huelin in ue5-main branch]
2022-04-27 16:05:45 -04:00
brian white
dce9273158 Resolve race condition that triggers false hang detections
#rb
#jira UE-149080
#preflight 62616abb6811877065d9d508
#rn Fix Core Previously an errant heartbeat present hang could be triggered if PLATFORM_PRESENT_HANG_DETECTION_ON_BY_DEFAULT was disabled but PresentHangDuration was enabled in the project's configuration.  This change resolves the initialization of present hang detection settings preventing a race condition that triggered the errant hang.
#preflight 6269985c0d4ac78d7182138b

[CL 19945396 by brian white in ue5-main branch]
2022-04-27 15:54:28 -04:00
Laura Hermanns
f40ef96996 Extend preprocessor condition to use __builtin_bit_cast() intrinsic for Clang.
#rb Steve.Robb
#preflight 626978d62735a2c0ea896e77
#jira none
#rnx

[CL 19944846 by Laura Hermanns in ue5-main branch]
2022-04-27 15:23:11 -04:00
Robert Millar
22868b1455 Remove references to EnumProcessModules when the current winapi partition doesn't allow access to it.
#jira UE-150380
#rb none
#preflight 62697815b710a00f18c0e288

[CL 19943132 by Robert Millar in ue5-main branch]
2022-04-27 13:52:04 -04:00
Jimmy Andrews
cf81e7bbc3 fix GeometryProcessingUnitTest compile on "Debug Editor" -- update _DEBUG-only GenericPlatformMallocCrash functions
#rb robert.millar
#preflight 626971758c2782e4f239d3c4

[CL 19942942 by Jimmy Andrews in ue5-main branch]
2022-04-27 13:36:55 -04:00
Zak Middleton
f2e6ac0f2d #ue5 - Make UnrealMathFPU usable again when vector intrinsics are disabled or when explicitly swapped in within VectorRegister.h. Fixed some related deprecated UE constants usage. Fixed NaN handling for comparisons in UnrealMathFPU to pass the UnrealMathTest startup tests.
#jira UE-129730
#rb none
#preflight 62687fe6430b9997eb013593

[CL 19941685 by Zak Middleton in ue5-main branch]
2022-04-27 12:27:40 -04:00
brandon dawson
b28bf9df71 Add cast to the specified octree type in the generic octree callback.
#preflight 6266e9859337eeaec40226e3

#ROBOMERGE-AUTHOR: brandon.dawson
#ROBOMERGE-SOURCE: CL 19937736 via CL 19937756 via CL 19937762
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19939034 by brandon dawson in ue5-main branch]
2022-04-27 10:06:36 -04:00
mihnea balta
dd4a609400 Report the Windows build number and revision number in the log at startup.
Also adds support for detecting Windows Server 2022.

#jira UE-149576
#rnx
#lockdown Michal.Valient
#preflight https://horde.devtools.epicgames.com/job/625ec6259c09ef439d96bc85
#rb Christopher.Waters

#ROBOMERGE-AUTHOR: mihnea.balta
#ROBOMERGE-SOURCE: CL 19936502 in //UE5/Release-5.0/... via CL 19936683
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19937373 by mihnea balta in ue5-main branch]
2022-04-27 07:38:37 -04:00
Andriy Tylychko
c98d6ffe3f the fix 17455132 was lost during recent tasks refactoring. reintroducing it
#jira UE-149740
#preflight 6269266a4c094202410b43ac

[CL 19937334 by Andriy Tylychko in ue5-main branch]
2022-04-27 07:34:47 -04:00