Commit Graph

11054 Commits

Author SHA1 Message Date
Zousar Shaker
f263b7ed54 2nd check-in:
Separate re-usable HTTP types from the HttpCacheStore to allow for re-use in the future by other cache stores.

#rb devin.doucette
#rnx
#preflight 62841cbdf536779152dfc561

[CL 20260417 by Zousar Shaker in ue5-main branch]
2022-05-18 09:58:59 -04:00
Laura Hermanns
71b90823ed Force DXC precompilation when FXC contains an "internal error: out of memory" report.
#rb Jason.Nadro
#jira FORT-478366
#preflight 62840e8f82530182723e144b
#rnx

[CL 20260406 by Laura Hermanns in ue5-main branch]
2022-05-18 09:58:29 -04:00
Josh Adams
c2b6817353 - Cleaned up old FConfigCacheIni stuff and new FConfigContext, getting rid of duplicated functions, and moving some stuff into FConfigContext and the new UE::ConfigUtilities namespace
- Deprecated some global functions now in ConfigUtilities
- Deleted a couple of old deprecated stuff from 3.24

#rb chris.waters
#preflight 628415e1ba3597a030b3b900

[CL 20259749 by Josh Adams in ue5-main branch]
2022-05-18 08:59:31 -04:00
David Harvey
9cc4146fbc move HoloLens runtime source to platform extension folder.
#jira UE-149794
#rnx
#rb Jeff.Fisher
#preflight 6284cd49614041edb76395dc

[CL 20258963 by David Harvey in ue5-main branch]
2022-05-18 06:59:59 -04:00
sara schvartzman
6c0d38da89 Control Rig: Performance improvements on template nodes
#jira na
#rb helge.mathee
#preflight https://horde.devtools.epicgames.com/job/6283a58a730e8423d1256bf5

[CL 20258899 by sara schvartzman in ue5-main branch]
2022-05-18 06:43:26 -04:00
ionut matasaru
d5e9b01154 [Insights]
- Counters/Stats: Added support for stats counters with "ShouldClearEveryFrame" flag to actually reset to 0 at beginning of each Game frame (during analysis).
  - Counters/Stats: Added separate counters for "1/frame" variants of stats counters with "ShouldClearEveryFrame" flag. Normal counters shows all intermediate points (variation within a single frame), while the new ones (that have same name but with "(1/frame)" suffix) only shows a single value per each Game thread (i.e. last value in respective frame). These new counters are more useful when investigating variation between multiple frames.
  - Counters/Stats: Added "Insights/FStatsAnalyzer" LLM tag to reduce Untagged mem allocations.

#jira UE-152689
#rb Catalin.Dragoiu
#preflight 628374123f6aa88b1a72af22

[CL 20258783 by ionut matasaru in ue5-main branch]
2022-05-18 06:19:26 -04:00
ionut matasaru
ce787cd015 [Insights]
- CpuProfiler: Fixed "dispatch of timing events with metadata" when merged with regular events.
  - CpuProfiler: Added "Insights/FCpuProfilerAnalyzer" LLM tag to reduce Untagged mem allocations.
  - CpuProfiler: Added new debug code/macros around each timing event for easier debugging. This is preparation for further changes related to coroutines.

#rb Catalin.Dragoiu
#preflight 6284b981486700b561dc6ce9

[CL 20258725 by ionut matasaru in ue5-main branch]
2022-05-18 06:04:35 -04:00
Zousar Shaker
b4cb8da065 [Backout] - CL20252872
#fyi Zousar.Shaker
Original CL Desc
-----------------------------------------------------------------
Separate re-usable HTTP types from the HttpCacheStore to allow for re-use in the future by other cache stores.

#rb devin.doucette
#rnx
#preflight 62841cbdf536779152dfc561

[CL 20254560 by Zousar Shaker in ue5-main branch]
2022-05-17 20:51:15 -04:00
Zousar Shaker
8805f32c05 Separate re-usable HTTP types from the HttpCacheStore to allow for re-use in the future by other cache stores.
#rb devin.doucette
#rnx
#preflight 62841cbdf536779152dfc561

[CL 20252872 by Zousar Shaker in ue5-main branch]
2022-05-17 18:36:19 -04:00
christopher waters
1e01768e33 Bindless shader parameters
- Adding support for bindless resources/samplers. The loose resources have to be wrapped in a macro that generates an index and proxy resource when bindless is enabled. Reflection has to parse these differently from other resources since they're parsed as uint parameters. The runtime also has to bind these differently since they end up needing to find their real resource in the binding data and then update a constant buffer.
- To assist in conversions, the shader compiler will detect if a shader is compiled with both bindless and non-bindless resources/samplers and will emit errors if that is the case.
- Adding support for bindless Uniform Buffer resources/samplers. Because Uniform Buffers aren't per-shader, they'll always update their constants with the bindless indices of their resources.
- Adding more flags to FShaderCodePackedResourceCounts required changing all the array initializations to individual parameters since not all the new flags are used everywhere.
- No shaders have been configured to support bindless resources/samplers. Yet.

#jira UE-139616
#rb zach.bethel, arciel.rekman
#preflight 6282b8ec44349a6581a21a39

[CL 20250348 by christopher waters in ue5-main branch]
2022-05-17 16:30:48 -04:00
Michael Galetzka
76cee75854 Removed useless stack walks for test info messages; added some test stats
#jira none
#rb simon.tovey
#preflight 6283f65c486700b561a1dc26

[CL 20249713 by Michael Galetzka in ue5-main branch]
2022-05-17 15:47:34 -04:00
chris constantinescu
b258362e47 Catch2 3.0 preview source code integration with on-demand static library build for all platforms.
Other preflights: Catch2 Build Library 6283d1c14316db80d194f6c8, Nightly Low Level Tests 6283d1c9114e08fa2f237e6b
#preflight 6283d1b5114e08fa2f237db3

[CL 20248814 by chris constantinescu in ue5-main branch]
2022-05-17 15:06:28 -04:00
rob krajcarski
755d3d7dd9 Fix for metal shader backend mismatch between resources and samplers
#jira UE-151850
#rb christopher.waters
#preflight none

[CL 20246663 by rob krajcarski in ue5-main branch]
2022-05-17 13:36:05 -04:00
ionut matasaru
f319b6cd6e Fixed CIS error (-NoPCH -DisableUnity).
#rb trivial
#jira UE-152669
#preflight skip

[CL 20246426 by ionut matasaru in ue5-main branch]
2022-05-17 13:24:57 -04:00
alexander suvorov
ba7c292aba #jira FORT-432261
Allow color adjustment for cubemaps created from longlat sources.
#rb charles.bloom
#preflight 627e972d6d7654cc68b225bd

[CL 20241303 by alexander suvorov in ue5-main branch]
2022-05-17 08:41:54 -04:00
paul chipchase
f85fad88ff It is now possible to disable virtualization for all payloads owned by a specific asset type by adding the name of the asset to [Core.ContentVirtualization]DisabledAsset string array in the engine ini file.
#rb Per.Larsson
#rnx
#jira UE-151377
#preflight 628364050039ea57a52d6989

### Virtualization
- [Core.ContentVirtualization] in the engine ini file now supports an array called 'DisabledAsset' which can be used to name asset types that should not virtualize their payloads.
-- By default (in BaseEngine.ini) we have disabled the StaticMesh asset as we know it will crash if a payload is missing and the SoundWave asset as it still is pending testing.
- This new way to disable virtualization is data driven. The older hard coded method has not been removed but will likely be reworked in a future submit.
- Now when an editor bulkdata is adding it's payload to the package trailer builder during package save it will poll the virtualization system with a call to the new method ::IsDisabledForObject by passing in it's owner.
-- If the owner is valid and was present in the 'DisabledAsset' array then the method will return true and the EPayloadFlags::DisableVirtualization flag will be applied.

### Package Trailer
- The pre-existing functionality of enum EPayloadFilter has been moved to a new enum EPayloadStorageType as will only filter payloads based on their storage type.
- EPayloadFilter has been modified to filter payloads based on functionality although at the moment the only thing it can filter for is to return payloads that can be virtualized, it is left for future expansion.
- EPayloadFlags has been reduced to a uint16 with the remaining 2bytes being turned into a new member EPayloadFilterReason.
- This new member allows us to record the exact reason why a payload is excluded from virtualization. If it is zero then the payload can virtualize, otherwise it will contain one or more reasons as to why it is being excluded. For this reason the enum is a bitfield.
- Added overloads of ::GetPayloads and ::GetNumPayloads that take EPayloadFilter rather than a EPayloadStorageType
- Added wrappers around all AccessMode types for FLookupTableEntry.
- FPackageTrailerBuilder has been extended to take a EPayloadFilterReason so that the caller can already provide a reason why the payload cannot be virtualized.
-- As a future peace of work this will probably be changed and we will ask the caller to pass in the owner UObject pointer instead and then we will process the filtering when building the package trailer to a) keep all of the filtering code in one place b) keep the filtering consistent

### PackageSubmissionChecks
- The virtualization process in  will now request the payloads that can be virtualized from the package trailer, which respects the new payload flag, rather than requesting all locally stored payloads.

### UObjects
- There is no need for the SoundWave or MeshDescription classes to opt out of virtualization on construction. This will be done when the package is saved and is now data driven rather than being hardcoded.

### DumpPackagePayloadInfo
- The command has been updated to also display the filter reasons applied to each payload

[CL 20240971 by paul chipchase in ue5-main branch]
2022-05-17 07:54:28 -04:00
sara schvartzman
642f1d141d Control Rig: Fix crash when connecting different type to template node
#jira UE-152650
#rb helge.mathee
#preflight https://horde.devtools.epicgames.com/job/62837e9aed2c0847b026948c

[CL 20240830 by sara schvartzman in ue5-main branch]
2022-05-17 07:43:53 -04:00
ionut matasaru
6ba99a3742 [Insights]
- Table Tree view: Added "SameValue" aggregation for the table/tree columns of CString type. Aggregated value is equal with children value if all children have exactly same value, otherwise aggregated value is empty.
  - Memory Insights: Enabled "SameValue" aggregation for the Mem Tag column of the Mem Allocs table/tree view.

#jira UE-152586
#rb Catalin.Dragoiu
#preflight 6282a1907d471e73a568ea4c

[CL 20239889 by ionut matasaru in ue5-main branch]
2022-05-17 05:41:12 -04:00
Johan Torp
cd2427aff7 Deprecated nonsensical FDateTime + FDateTime operator that modified left-hand side
Updated the deprecated operator+ to not modify LHS
Didn't make it const since that causes ambiguity, e.g. FDateTime() + 0.0f

PR #8690: Fix for the FDateTime "+operator" (Contributed by yashasg)
#jira UE-136752
#rb pj.kack
#preflight 6283680e44349a6581e709eb

[CL 20239857 by Johan Torp in ue5-main branch]
2022-05-17 05:35:22 -04:00
Arciel Rekman
da789a035f Fix FHlslParser to support global scope.
#rb Yuriy.ODonnel
#jira none
#preflight none

[CL 20233493 by Arciel Rekman in ue5-main branch]
2022-05-16 18:10:37 -04:00
jon olick
9408eb8659 Fixed GetAllDefaultTextureFormats as well for MacEditor
#preflight

[CL 20231289 by jon olick in ue5-main branch]
2022-05-16 16:36:39 -04:00
Jon Olick
8c5745998d Fix for GenericMaxTargetPlatform.h and texture building
#preflight 6282af0dcf7e4667a9acda17

[CL 20231086 by Jon Olick in ue5-main branch]
2022-05-16 16:29:42 -04:00
jack cai
65e04a2821 ControlRig: rigvmpythonuitl.cpp non-unity compilation issue, missing class.h header include
#jira UE-152512
#rb trivial
#preflight skip

[CL 20227668 by jack cai in ue5-main branch]
2022-05-16 13:47:05 -04:00
robomerge
6a58d6b815 Material Baking - FExportMaterialProxy - Do not rely on BaseMaterialId as it is invalid on cooked materials
* Instead, use StateId & override GetShaderMapUsage() to differentiate the export proxy from the source material.
#rb jason.nadro

#ROBOMERGE-AUTHOR: sebastien.lussier
#ROBOMERGE-SOURCE: CL 20222932 via CL 20224332 via CL 20224346 via CL 20224360
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20227117 by robomerge in ue5-main branch]
2022-05-16 13:10:08 -04:00
Jon Olick
0a7be0f773 Removed bSupportDX11TextureFormats, functionality is no longer necessary. Pushed functionality of bSupportDX11TextureFormats down to target platform code.
#preflight 6282816acf7e4667a999a6ea

[CL 20227025 by Jon Olick in ue5-main branch]
2022-05-16 13:05:50 -04:00