Commit Graph

12432 Commits

Author SHA1 Message Date
neil henning
08fc7777a6 Remove DeferUntilCommit / DeferUntilAbort from the AutoRTFM API (use OpenCommit / OpenAbort instead).
#preflight 646c6afd1b241f0748614b9d

[CL 25579609 by neil henning in ue5-main branch]
2023-05-23 07:48:03 -04:00
Andriy Tylychko
5c238a4d7e delegates refactoring:
* added a thread-safe (locked) delegates variant
* refactored and enabled by default race detection for the original not thread-safe version
* added "not thread-safe not checked" variant for rare cases where race detection doesn't work or it's a known case of a race
#rb steve.robb, francis.hurteau, danny.couture
#preflight 646b9f4d576becd7b53f674c

[CL 25577637 by Andriy Tylychko in ue5-main branch]
2023-05-23 05:17:19 -04:00
Andriy Tylychko
599547e044 MTAccessDetector: changed thread_local members to thread_local vars in dedicated getters to workaround clang complaining about duplicated initialisation (despite it was marked as inline)
#preflight 646b8bfaaf4d6ab0cbb63f18

[CL 25566563 by Andriy Tylychko in ue5-main branch]
2023-05-22 12:57:43 -04:00
ben woodhouse
31208ca2a1 Add a new set of ASTC pixel formats for storing high precision normals in RG channels. The texture is encoded as LA for higher precision, swizzled to RG at runtime for shader compatibility with BC5. Requires RHI support.
Runtime pixel formats are named  PF_ASTC_<blocksize>_NORM_RG. Use texture format name ASTC_NormalRG_Precise for encoding.

[CL 25563983 by ben woodhouse in ue5-main branch]
2023-05-22 10:41:55 -04:00
per larsson
5bf68c3de0 I/O - extend on demand I/O store TOC with source chunk hash and compression block hashes
#rb none
#preflight 6467726975696d2bd7d424d7
#rnx

[CL 25562370 by per larsson in ue5-main branch]
2023-05-22 08:28:57 -04:00
per larsson
92c4fb4c0b I/O - removed on demand TOC from core since this has moved to new module
#rb none
#preflight 6469c9ca573c1da158828c03
#rnx

[CL 25559309 by per larsson in ue5-main branch]
2023-05-21 10:15:18 -04:00
joe bestrotheray
1738801d1c Possible fix for missing hitchhunter server stacks
#rb richard.smith
#rb kaleb.morris

[CL 25555886 by joe bestrotheray in ue5-main branch]
2023-05-19 22:10:03 -04:00
dan thompson
5f360661f3 Move GuardedInt.h to Core as it's about to be needed elsewhere.
#rb devin.doucette
#preflight 6467a9a52c0a5da0dcd0afa9

[CL 25553319 by dan thompson in ue5-main branch]
2023-05-19 17:51:45 -04:00
zousar shaker
b0d5721dde Initial implementation of DiffOnly mode for ZenServer as Cooked Output Store. Lacking detailed header diffing, but stubbed in for future addition. When using ZenServer as Cooked Output Store the packages use the ZenPackageSummary header format instead of the PackageFileSummary header format. This is how data is stored in ZenServer and the format it is when fetched. Data produced in process is transformed into this format ahead of diffing.
The code for parsing a view of the ZenPackageSummary has been extracted from AsyncLoading2.cpp into a private h/cpp and is possible to use from the header diffing code when printing out detailed diffs, but is not used yet.

#rb matt.peters
#rb pj.kack
#jira UE-175237

[CL 25549055 by zousar shaker in ue5-main branch]
2023-05-19 14:43:02 -04:00
stephen ma
190d569079 - Fixes NFL + Programs + Platform directories to look in the removed restricted program path, brings structure closer to Engine standard within Restricted Platform folders.
Before:
 "Engine\Restricted\NoRedist\Platforms\{Platform}\Restricted\NotForLicensees\Programs\{Project}Config\{Platform}Engine.ini"
After:
 "Engine\Restricted\NoRedist\Platforms\{Platform}\Programs\{Project}\Config\{Platform}Engine.ini"
- Fixed config paths for Restricted, non-Platform, program ini files (last change had put OPT_SUBDIR in too many places, it's only needed for Restricted Programs Platform files)

#rb Josh.Adams
#preflight 6466f5b775696d2bd71832dc

[CL 25548254 by stephen ma in ue5-main branch]
2023-05-19 13:53:24 -04:00
devin doucette
8569448f20 xxHash: Removed TTask from the API
Management of tasks is more suitable for higher-level code.

Includes rearrangement of some code that was updated inconsistently during compile time optimizations.

#preflight 646690628720894fb6cd5f2d
#rb Dan.Thompson
#rnx

[CL 25548233 by devin doucette in ue5-main branch]
2023-05-19 13:52:37 -04:00
stu mckenna
fd6cae6b42 - Add VVM support for bit casting between floats and ints
#rb rob.krajcarski
#preflight 6466532e743f7c995bc67a0f

[CL 25548196 by stu mckenna in ue5-main branch]
2023-05-19 13:51:29 -04:00
patrick enfedaque
6bff74bf1a Packed Level Actor: Filter support
#rb richard.malo, jeanfrancois.dube
#preflight 64676199434f5536a34daf5b
#rnx

[CL 25548187 by patrick enfedaque in ue5-main branch]
2023-05-19 13:51:16 -04:00
johan torp
9f72a9b4e7 Silence MSVC static analysis warnings
#rb none
#rnx
#preflight none

[CL 25545981 by johan torp in ue5-main branch]
2023-05-19 12:02:46 -04:00
neil henning
0180fbc9e2 Improve performance of RecordWrite by 1.33x in AutoRTFM by avoiding some work and avoiding a costly memset(0) that wasn't needed.
#preflight 646646c9743f7c995bbfd269

[CL 25541105 by neil henning in ue5-main branch]
2023-05-19 04:51:28 -04:00
johan torp
2ee2d51077 Fix natvis and alignment of numbered 4B FNames
Also removed unneeded IterateNumberedNames
Only impacts UE_FNAME_OUTLINE_NUMBER

#rb robert.millar
#preflight 6464ec2a317ee2d9d14bc72f
#rnx

[CL 25540926 by johan torp in ue5-main branch]
2023-05-19 04:07:21 -04:00
stu mckenna
a6187d5974 - Convert FNiagaraDataSetCompiledData Variables to use Base
- Pack variable layout data more efficiently to avoid 16 bytes per component type * 2
- Move some deprecate properties into editor only data
- Approximate savings are ~15% per asset varies depending on number of attributes

#rb rob.krajcarski
#preflight 64642e27317ee2d9d1e94b4c
#lockdown marc.audy

[CL 25537193 by stu mckenna in ue5-main branch]
2023-05-18 20:39:20 -04:00
stu mckenna
f27c082504 - Add editor only compile tags
- Move attribute trimming information into editor only compile tags to reduce memory

#rb rob.krajcarski
#preflight 64659f9ff033744ae6cc86d8
#lockdown marc.audy

[CL 25536564 by stu mckenna in ue5-main branch]
2023-05-18 19:44:36 -04:00
zack neyland
7876fde6f1 Mac: Add some sanity checking on CRC to make sure it actually exists and is executable.
#preflight na

[CL 25532649 by zack neyland in ue5-main branch]
2023-05-18 16:01:52 -04:00
brandon schaefer
918a67f6d9 Support enabling AutoRTFM instrumentation on a Module level in UBT
#rb Neil.Henning, Joe.Kirchoff
#preflight 646655bd743f7c995bc7a7ff

[CL 25532181 by brandon schaefer in ue5-main branch]
2023-05-18 15:44:35 -04:00
allan bentham
fbc142f928 Add GLES PSO precache support.
- When PSO precaching is enabled:
   - the binary program cache is continually appended with new PSOs.
   - all encountered PSOs are added to the binary cache.
   - The binary program cache is mmapped after the cache has grown beyond a cvar specified size.
   - rudimentary cache size controls (deletes after going over cvar controlled size threshold on startup).
   - any non-precache caches are deleted on startup.
#rb jack.porter
#preflight 6466121df602a4c404daea06

[CL 25531662 by allan bentham in ue5-main branch]
2023-05-18 15:28:02 -04:00
oleg krasnov
e879a455ee Add FAutomationTestBase::CanRunInEnvironment methods with basic implementation
#jira UE-181613
#rb adam.miezianko, chris.constantinescu, jerome.delattre
#preflight 64665b008377b53e1d00bced
#preflight 64665b1736605222002bbf2c
#preflight 646664bb743f7c995bcd6aab

[CL 25530771 by oleg krasnov in ue5-main branch]
2023-05-18 14:52:21 -04:00
zack neyland
ffea6ee581 Mac/Android/iOS: Replace UE4 string references with UE.
#preflight na

[CL 25527043 by zack neyland in ue5-main branch]
2023-05-18 12:29:12 -04:00
Steve Robb
2ad93664bd Undo //UE5/Main/Engine/Source/Runtime/Core/Public/UObject/... changelist 25522785
Decided against this change.

#rb andriy.tylychko
#jira none
#preflight none

[CL 25523566 by Steve Robb in ue5-main branch]
2023-05-18 08:10:24 -04:00
Steve Robb
b4e131fcbd Switched TScriptDelegate::ProcessDelegate from a write scope to a read scope, to allow concurrent read access.
#rb andriy.tylychko
#jira none
#preflight 6465f1f8063e77985c26332a

[CL 25522785 by Steve Robb in ue5-main branch]
2023-05-18 05:42:54 -04:00