Commit Graph

6437 Commits

Author SHA1 Message Date
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
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
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
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
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
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
4bc29be92b Re-enable the removal of the legacy math macros from Core, removed in CL# 19494088.
A couple of other macro fixes in Core.

#rb none
#jira UE-140139
#preflight 6244bbb9f73c316f68e76bf3

[CL 19564411 by Steve Robb in ue5-main branch]
2022-03-30 16:57:01 -04:00
jamie dale
9dd1d0168b Added std::initializer_list constructor to TSortedMap, for parity with TMap
#jira
#preflight 62447c6e927e60e34153e8eb
#rb Steve.Robb

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 19560020 via CL 19561869 via CL 19561894 via CL 19561911
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19563451 by jamie dale in ue5-main branch]
2022-03-30 16:07:04 -04:00
Jerome Delattre
cf3f4d0961 Followup based on code review feedback.
* avoid using class ClassName*
* CanBeUsedOnMultipleThreads() return true on FAutomationTestOutputDevice to make it unbuffered
* Add lock for OutputDevices and FAutomationTestBase

#jira UE-146794
#rb Chris.Constantinescu, Devin.Doucette
#rnx
#preflight 6244ab01dc6183e3f5f94f51

[CL 19563203 by Jerome Delattre in ue5-main branch]
2022-03-30 15:52:21 -04:00
charles bloom
a5bfa40d89 Make some basic math routines for log2/clz simpler and faster
make intention and implementation obvious
check that it produces better code
add unit tests

#preflight 62447697e434babd8ae5a68a
#rb fabian.giesen,jon.olick

[CL 19562378 by charles bloom in ue5-main branch]
2022-03-30 15:10:56 -04:00
Devin Doucette
05925d3252 Logging: Added more flushing to panic mode
Panic() will always Flush() on the first call, and on subsequent calls from the panic thread. After Panic(), every Serialize() from the panic thread will Flush() too.

#jira UE-147152
#preflight 6244917db6084b98323c8844
#rb Zousar.Shaker

[CL 19560703 by Devin Doucette in ue5-main branch]
2022-03-30 14:07:11 -04:00
tyson brochu
768cfab5db Add scalar weight maps to DynamicMeshAttributeSet
- Allow the Attribute Editor Tool to add/delete weight maps from DynamicMesh targets.
- Enable transferring scalar weight maps back and forth between DynamicMesh and MeshDescription.
- Serialize TDynamicAttributeBase::Name when its subclasses are serialized

#rb nathan.mitchell
#preflight 62439b2ab6084b9832307f6e

[CL 19551734 by tyson brochu in ue5-main branch]
2022-03-29 20:04:24 -04:00
Matt Peters
182bacd977 DelayedAutoRegister: Reorder the enum values to match the current order in which they are triggered, to prevent surprises to readers unfamiliar with the sytem.
#rb Josh.Adams
#rnx
#preflight 62436e0f323cb7b991f539e4

[CL 19549328 by Matt Peters in ue5-main branch]
2022-03-29 16:52:48 -04:00
Devin Doucette
292008ea35 Logging: Replaced GLog->PanicFlush() with GLog->Panic()
Panic allows only one thread to become the panic thread. In panic mode, logs are only sent to panic-safe output devices. Each call to Panic flushes buffered logs to panic-safe output devices, and flushes panic-safe output devices.

#jira UE-147152
#preflight 62424814292f228e09d8a612
#rb Zousar.Shaker
#fyi Brandon.Schaefer

[CL 19545093 by Devin Doucette in ue5-main branch]
2022-03-29 13:31:48 -04:00
charles bloom
a3c7d9cb9b fix Volume Textures with LeaveExistingMips
was not correctly mipping down Volume Depth in TextureSources
need to correct the calculation in various places where its code duped
add some size checking

#preflight 624279a8292f228e09db756d
#rb fabian.giesen

[CL 19542095 by charles bloom in ue5-main branch]
2022-03-29 10:48:15 -04:00