Commit Graph

11231 Commits

Author SHA1 Message Date
wouter dek
60222e1105 Add list of lights to GPU scene, mirroring Scene::Lights. Each element contains the view-independent properties of the light.
#rb ola.olsson, charles.derousiers, sebastien.hillaire, matt.peters
#preflight 6356a0707261e565c41de278
#jira none

[CL 22727778 by wouter dek in ue5-main branch]
2022-10-24 11:07:32 -04:00
Johan Torp
d510002907 Add UE_CALL_ONCE varargs support
#rb steve.robb
#preflight 635657260313c24974cce920

[CL 22718680 by Johan Torp in ue5-main branch]
2022-10-24 05:29:17 -04:00
ionut matasaru
8524c5ccdf Further improved the cpu timing scopes for module loading (now using cpu timing events with name of module as metadata).
#jira UE-167110
#rb Nick.Darnell
#fyi Bob.Tellez
#preflight 634d57085f008d633fa4812b

[CL 22718251 by ionut matasaru in ue5-main branch]
2022-10-24 03:40:16 -04:00
yiliang siew
42a4fc2004 Fix Clang warning for comparison of different types.
#preflight 6351c94a9e14ee3c795883ec
#rb Steve.Robb

[CL 22711553 by yiliang siew in ue5-main branch]
2022-10-22 14:43:16 -04:00
robomerge
41cd7c6a0e Rollback performance improvements to static variable collection to keep things in sync with the compilation code path till we can unify them
#rb none
#jira UE-167787
#rnx
#preflight 63520d6df92c325024e8f4e4

[CL 22707994 by robomerge in ue5-main branch]
2022-10-21 22:30:41 -04:00
paul chipchase
462290f718 Extending the VA pulling API to allow for batch pulls
#rb Per.Larsson
#jira UE-163093
#rnx
#preflight 63526abcae33b04ec1ee4a65

- The caller can now request more than one payload to be pulled froim the system at a time. In theory this will allow backends to pull data quicker.
-- The file system backend works with the new system but makes no attempt to take advantage as the backend is not intended for serious production use.
-- The DDC backend should be taking full advantage of the new batching API
-- Note that although the source control API does attempt to take advantage of batching, the internal source control API implementation is not doing so. This will be addressed in a future submit.
- This does make the pulling logic a bit more complicated in FVirtualizationManager as we need to deal with some payloads being found in the first backend, some in the second and some in the third etc.
-- To help deal with this a new class FPullRequestCollection has been added which abstracts a lot of complexity away.

[CL 22707955 by paul chipchase in ue5-main branch]
2022-10-21 22:27:40 -04:00
fabian giesen
a8fda7f78f Checked integer template.
Adds new FCheckedSignedInt<SignedType> template with named instantiations FCheckedInt32 and FCheckedInt64 that perform range, overflow-checked integer arithmetic and know they're invalid when an error occured anywhere along the way. They also test for illegal shift amounts and division by zero.

This class is intended for processing integers from untrusted sources, especially for size computations, where overflows might otherwise be used to craft buffer overflow exploits.

#rb devin.doucette
#preflight 63531188e6096564af92c37b

[CL 22702469 by fabian giesen in ue5-main branch]
2022-10-21 17:58:34 -04:00
ennorehling
be0b5ec7dc PR #9662: Correct spelling of "receive" in log messages. (Contributed by ennorehling)
#jira UE-167168
#rb trivial
#preflight 6352be99ae33b04ec10beb97

[CL 22694385 by ennorehling in ue5-main branch]
2022-10-21 13:43:26 -04:00
Rafa Lecina
aabf447830 Update Facebook SDK on Android to 15.0.1
Included some fixes after testing login both with and without the Facebook app installed

#jira UE-162597
#review @Bertrand.Carre, @Chris.Varnsverry, @Chris.Babcock
#preflight 634e6e905f008d633ff59feb

[CL 22686247 by Rafa Lecina in ue5-main branch]
2022-10-21 04:51:39 -04:00
Charles deRousiers
1cba07781c Update HairDescriptionBulkData to use FEditorBulkData.
* Avoiding to load descriptor data when loading groom asset
* Allow groom asset to be virtualized

#rb matt.peters
#jira none
#preflight 63524b593d41a4455a7d632d

[CL 22685796 by Charles deRousiers in ue5-main branch]
2022-10-21 03:56:12 -04:00
robert millar
c0f77f7140 Fix writing obfuscated names to utf8 string builder.
#rb johan.torp,devin.doucette,tyler.staples

[CL 22675591 by robert millar in ue5-main branch]
2022-10-20 18:45:24 -04:00
yiliang siew
e5f82653eb Add the missing enums.
#preflight skip
#rb none

[CL 22670415 by yiliang siew in ue5-main branch]
2022-10-20 16:41:22 -04:00
steve robb
340221a930 Security guards for TArray.
#rb Devin.Doucette
#jira UE-166506
#preflight 635159369203f159e5a8e75b

[CL 22670299 by steve robb in ue5-main branch]
2022-10-20 16:39:24 -04:00
christopher waters
8d2ed4a040 Moving EPixelFormatCapabilities to PixelFormat.h to live with FPixelFormatInfo.
Adding UE::PixelFormat::HasCapabilities to replace RHIPixelFormatHasCapabilities and friends.

#jira none
#rb elizabeth.baumel, charles.bloom
#preflight 6351928c9e14ee3c7941510d

[CL 22666541 by christopher waters in ue5-main branch]
2022-10-20 15:15:15 -04:00
yiliang siew
fd6f72459d Changing static TArrays to be declared as function statics instead of global class statics in order
to avoid a memory leak.
   #rnx
   #rb Florin.Pascu
      #rb Matt.Peters
#preflight 6350f4608449f85a479db179

[CL 22662474 by yiliang siew in ue5-main branch]
2022-10-20 13:41:15 -04:00
rex hill
ef91aeb20a Update modular feature not found assert to log name of the modular feature not found
#preflight skip
#rnx

[CL 22653957 by rex hill in ue5-main branch]
2022-10-20 09:14:48 -04:00
ionut matasaru
72e461ab01 [Insights] Added tracing of callstack also for allocation free events.
#rb Catalin.Dragoiu
#preflight 635116d7ac48fa11ed908494

[CL 22652076 by ionut matasaru in ue5-main branch]
2022-10-20 06:11:22 -04:00
paul chipchase
bf3eee797c Updated all VA related commandlines to work without '-' although the previous version of the command line options will continue to work.
#rb Per.Larsson
#jira UE-165308
#rnx
#preflight 634ff17e8449f85a47390fbe

- It was pointed out that a command line option containing '-' characters could confuse parsers and it is not worth the risk to keep them.
- Now we accept versions of each command line without the '-' character which will be the version that we document for users in 5.1

[CL 22650940 by paul chipchase in ue5-main branch]
2022-10-20 02:20:37 -04:00
robomerge
5d9e422f70 Fixing cases where multiple static variable sets to the same varaible but different values should trigger an error and it does not.
Fixing cases where we weren't properly migrating varaibles across different script stacks, especially emitter variables.
Fixing cases where static variables as function call inputs weren't being properly propagated when they were using the pin's value and not linked to another pin.

#jira UE-158899, UE-164962, UE-164337
#rb
#preflight 635033bcb7420ffb4a7d75dd

[CL 22647238 by robomerge in ue5-main branch]
2022-10-19 21:52:01 -04:00
robomerge
a3f55ff580 Fix for landscape DI using shared samplers for the Normal VT
#rb stu.mckenna
#preflight 63504402047f3570ada3743a

[CL 22638725 by robomerge in ue5-main branch]
2022-10-19 17:07:39 -04:00
bryan sefcik
40591cbff0 Fixes to get IWYU working/compiling on windows.
#jira
#rb devin.doucette
#preflight 634f228ca1527f6b3beefea2

[CL 22633095 by bryan sefcik in ue5-main branch]
2022-10-19 14:35:34 -04:00
danny couture
eef0625e4e Fix a whole class of TSAN false positive by making the boolean used for polling request atomic
- That way, TSAN knows that destructing a request after just checking the bool is safe
  - TSAN doesn't support barriers, so we have to do that to make it understand everything it safe
  - Remove other TSAN_SAFE that are not needed anymore

#rb Brandon.Schaefer, PJ.Kack
#preflight 63494543907f474939ec76b9

[CL 22624654 by danny couture in ue5-main branch]
2022-10-19 10:16:13 -04:00
louisphilippe seguin
9d1efe254f SubObject message serialization:
* Added header bit telling if this message is a destroy message or not.
* DestroyMessages now add a destroy flags instead of a null netguid

#jira UE-150097
#rb Brian.Bekich, Ryan.Gerleve

[CL 22621701 by louisphilippe seguin in ue5-main branch]
2022-10-19 06:40:05 -04:00
chris varnsverry
f4c3eb6b2c - Add concept of trusted and untrusted server code/targets, so we can include/exclude code from certain trusted/untrusted build targets.
[REVIEW] [at]Rob.Cannaday [at]Sam.Zamani

[CL 22606065 by chris varnsverry in ue5-main branch]
2022-10-18 13:59:19 -04:00
sarah noonan
1a993b9ada *Remove per-frame caching of stats from FPlaformMemory::GetStats and move caching into helper function.
*Update common callers of FPlaformMemory::GetStats to use the helper.
[REVIEW] [at]matt.peters

[CL 22596606 by sarah noonan in ue5-main branch]
2022-10-18 07:22:43 -04:00