Commit Graph

10257 Commits

Author SHA1 Message Date
Devin Doucette
d355d4f30a Added missing PRAGMA_ENABLE_OPTIMIZATION
#preflight skip
#rb none
#rnx

[CL 19590100 by Devin Doucette in ue5-main branch]
2022-04-01 12:22:23 -04:00
Devin Doucette
07adff9b17 LowLevelTests: Reverted the Core tests that were moved in 19498448 and 19571202
#preflight 62471e0e73665f7d5e634d2d
#rb Chris.Constantinescu, Mark.Lintott
#rnx

[CL 19589944 by Devin Doucette in ue5-main branch]
2022-04-01 12:14:09 -04:00
Julien StJean
c5513bf1fc Adding support for the compressed source image data via interchange.
Added support for the import of compressed jpeg directly into source data payload.
Added a function to initialize a unique buffer via an array and added unit test for it.
Updated the test to compare the interchange image import to the legacy workflow to test properly the compressed source data and fixed an issue with the flip green channel setting not being test in a deterministic way.

#jira UETOOL-5063
#rb Alexis.Matte, Devin.Doucette
#preflight 62471676292f228e0916f650

[CL 19589174 by Julien StJean in ue5-main branch]
2022-04-01 11:28:33 -04:00
serge bernier
e951dcbe2a Expose a new PlatFormMisc function to query if the game is running on cloud
#rb ben.woodhouse, [at]eric.mcdaniel

#ROBOMERGE-AUTHOR: serge.bernier
#ROBOMERGE-SOURCE: CL 19587084 via CL 19587374 via CL 19587417 via CL 19587471
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19588893 by serge bernier in ue5-main branch]
2022-04-01 11:08:17 -04:00
Patrick Boutot
3d369c5b4f Remove unbalanced optimization macro
#jira UE-147844
#fyi mark.lintott
#preflight none

[CL 19587319 by Patrick Boutot in ue5-main branch]
2022-04-01 09:32:20 -04:00
allan bentham
b2000e5922 Added optional ANDROID_USE_NICE_VALUE_THREADPRIORITY define for FRunnableThreadAndroid::SetThreadPriority.
default off.
Enabling it sets the thread's priority via nice values.
Enabling ANDROID_USE_NICE_VALUE_THREADPRIORITY also sets Android pool threads to use all cores.
#rb chris.babcock,dmytro.vovk
#preflight 6246d6cc637925b5d3db3c54

#ROBOMERGE-AUTHOR: allan.bentham
#ROBOMERGE-SOURCE: CL 19586571 via CL 19586632 via CL 19586649 via CL 19586654
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19586926 by allan bentham in ue5-main branch]
2022-04-01 08:42:08 -04:00
Jurre deBaare
9d311435de Invalid data fix-up for FRichCurveKey::TangentWeightMode
#fix added fix-up behaviour during load - and ensure to track if any more invalid data creeps up afterwards
#rb Alexis.Matte, Mike.Zyracki
#preflight 6246d02eb6084b98325634d9

[CL 19586168 by Jurre deBaare in ue5-main branch]
2022-04-01 06:26:34 -04:00
mark lintott
a9305972ac Catch2 Conversion of Core Tests
#rb trival
#fyi Chris.Constantinescu
#preflight 6246cb4bc61d8a458f5bae63

[CL 19586009 by mark lintott in ue5-main branch]
2022-04-01 06:05:26 -04:00
Jurre deBaare
77fc9c5bce Incorporate element type when generating an FK control - this fixes any overlaps between curve and bone names in target USkeleton
- Added upgrade path for Sequencer control curves on ControlRigParameterSection
#rb Mike.Zyracki, Helge Mathee
#jira none
#preflight 6246c99c73665f7d5e5e3eb7

[CL 19585987 by Jurre deBaare in ue5-main branch]
2022-04-01 06:04:04 -04:00
Johan Torp
e743c8cc82 Added append to FString overloads for BytesToHex[Lower], FSHAHash, FGuid and optimized them a bit
#rb devin.doucette,zousar.shaker
#preflight 6246b54f323cb7b9911f004f

[CL 19585530 by Johan Torp in ue5-main branch]
2022-04-01 04:33:32 -04:00
Zak Middleton
d9a2ab92f8 #ue5 - LWC: VectorMod() on Neon updated to match newer SSE implementation.
#jira none
#rb Dmytro.Vovk
#preflight 62460227e434babd8af9c24d

[CL 19579974 by Zak Middleton in ue5-main branch]
2022-03-31 18:09:52 -04:00
Devin Doucette
8ddd60bc89 Partially backed out 19571202 because it stomped changes to several tests
#preflight
#rb none
#rnx

[CL 19577632 by Devin Doucette in ue5-main branch]
2022-03-31 16:03:19 -04:00
Devin Doucette
302a6e27f3 Logging: Fixed a hang in FlushThreadedLogs in panic mode
The logging thread needs to continue running until ThreadWakeEvent is null because it may otherwise miss triggering ThreadIdleEvents before it exits.

#preflight 6245fa87292f228e09067295
#rb Brandon.Schaefer, Zousar.Shaker
#rnx

[CL 19576990 by Devin Doucette in ue5-main branch]
2022-03-31 15:27:25 -04:00
chris constantinescu
cdcaefe035 Introducing Catch2 disabled test cases, scenarios etc
Motivation: [.] only hides a test and it can still be executed using ~[SomeOtherTag]; It's very easy to fall into the trap of executing an infinite loop test that is decorated with the [.] tag
#rb Andriy.Tylychko, Michael.Balzer
#preflight 6245fb64f4217035fa8f38ec

[CL 19576763 by chris constantinescu in ue5-main branch]
2022-03-31 15:16:31 -04:00
cesar castro
a15d1515a4 Motion Matching - Moved Pose Search Database Search Index to the DDC using lower level DDC api
#rb aaron.cox
#preflight 6245d735292f228e09048ff1

[CL 19574506 by cesar castro in ue5-main branch]
2022-03-31 12:48:04 -04:00
charles bloom
d0d9ec5dca revert GenericPlatformMath.cpp changes from CL 19562378
to preserve legacy bad fmod behavior

#rb none
#preflight none

[CL 19574403 by charles bloom in ue5-main branch]
2022-03-31 12:43:28 -04:00
kriss gossart
5100b3d5a6 Add missing GetHash functions for TIntVector2 and TIntVector4.
#rb Benn.Gallagher
#jira none
#okforgithuib public
#preflight 6245bd20c51908059abcbee0

[CL 19572840 by kriss gossart in ue5-main branch]
2022-03-31 10:49:30 -04:00
mark lintott
bc9b168688 Add new Unit Tests
#rb Chris.Constantinescu
#preflight 62458f77292f228e09013681

[CL 19571202 by mark lintott in ue5-main branch]
2022-03-31 07:45:37 -04:00
Devin Doucette
763400687f Logging: Fixed a deadlock when the logging thread is in its flush loop during a panic
#preflight 6244eb02e434babd8aebc80a
#rb Bryan.Johnson
#rnx
#fyi Zousar.Shaker

[CL 19566955 by Devin Doucette in ue5-main branch]
2022-03-30 20:05:57 -04:00
graham wihlidal
9c8fa1c395 Implemented a GPU Scene API for primitives explicitly enabling/disabling WPO support driven by events. This will be important for disabling WPO overhead in Nanite and other systems when unnecessary. The material system MayModifyMeshPosition hints are insufficient when using an MICD with static params that ultimately disable WPO, but the material system still reports WPO usage. This hint can also be used in new LOD systems to disable expensive features like WPO in the distance, but without doing a full shader switch. Nanite now supports a debug view that shows WPO off (red) and on (green) for meshes in the scene (r.Nanite.Visualize EvaluateWPO).
This change also remaps the original bEvaluateWorldPositionOffset on SMC into bEvaluateWorldPositionOffsetInRayTracing, because this var was only ever driven by ray tracing specific methods. The original bEvaluateWorldPositionOffset is now used by this more generic API.

Lastly, a new cvar (r.OptimizedWPO) has been added that indicates if the hint should be respected or not (default is false, which means WPO is always active, regardless of hint)

#rb rune.stubbe, marc.audy, derek.ehrman
[FYI] brian.karis, jamie.hayes, ola.olsson, andrew.lauritzen, jian.ru
#preflight 6244a8dcdc6183e3f5f8de98

#ROBOMERGE-AUTHOR: graham.wihlidal
#ROBOMERGE-SOURCE: CL 19564957 via CL 19564973 via CL 19564978
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19566743 by graham wihlidal in ue5-main branch]
2022-03-30 19:41:19 -04:00
jonathan adamczewski
e4e24758f8 IncludeTool: add UE_INCLUDETOOL_IGNORE_INCONSISTENT_STATE as a way to turn off warnings about inconsistent state, from code, in IncludeTool
#define UE_INCLUDETOOL_IGNORE_INCONSISTENT_STATE

... warning is ignored

#undef UE_INCLUDETOOL_IGNORE_INCONSISTENT_STATE

#jira none
#rb steve.robb
#rnx
#preflight 6244e0ac927e60e3415bf13f

[CL 19566668 by jonathan adamczewski in ue5-main branch]
2022-03-30 19:34:21 -04:00
jamie dale
a4e867f3e8 Some optimizations to FTextFormatter
- Use TSortedMap for the argument modifier parameters, as these are small sets of data.
 - Use a RW lock to avoid contention on a rarely changing container.
 - Avoid allocating a unique instance in FTextFormat.

#jira
#preflight 62449707b6084b98323cec45
#rb Vincent.Gauthier

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 19562338 via CL 19564306 via CL 19564315 via CL 19564329
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19566415 by jamie dale in ue5-main branch]
2022-03-30 19:03:41 -04:00
jamie dale
d08a9176fa Use TSortedMap for named format arguments
These are typically small data sets, so TSortedMap gives better performance

#jira
#preflight 624496eee434babd8ae76e85
#rb Vincent.Gauthier

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 19562303 via CL 19564305 via CL 19564311 via CL 19564322
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19566414 by jamie dale in ue5-main branch]
2022-03-30 19:03:33 -04:00
Jeremy Moore
0aebd0267f Add support for getting UScriptStruct on FIntPoint, FIntVector and FIntVector4.
Implement the FIntVector4 property struct and detail customisation.
Added FIntVector and FIntVector4 NAME_ FNames.
#preflight 6244bdb2470aff98e967311a
#rb steve.robb

[CL 19564992 by Jeremy Moore in ue5-main branch]
2022-03-30 17:50:26 -04:00
Steve Robb
f53ce7ef96 Reverted the removal of the legacy math marcros again from CL# 19564411 - IncludeTool is still complaining.
#rb none
#jira none
#preflight none

[CL 19564742 by Steve Robb in ue5-main branch]
2022-03-30 17:27:41 -04:00