Commit Graph

8112 Commits

Author SHA1 Message Date
danny couture
c743dfc260 Avoid stall when refreshing content browser thumbnails of imported skeletal mesh by avoiding querying the overlay type as it will be refresh when compilation finishes
#rb Alexis.Matte

[CL 15850276 by danny couture in ue5-main branch]
2021-03-29 09:23:26 -04:00
halfdan ingvarsson
c8d619d990 Workaround for a bug in clang-cl 11.0 when building in C++17 mode, where __builtin_wmemchr is not implemented.
#jira none
#rb tim.smith
#rnx

[CL 15850274 by halfdan ingvarsson in ue5-main branch]
2021-03-29 09:23:17 -04:00
Catalin Dragoiu
0fe80537a8 [Insights] Fix color scheme for Session Browser and a few other places
#rb Ionut.Matasaru

[CL 15850243 by Catalin Dragoiu in ue5-main branch]
2021-03-29 09:18:21 -04:00
daren cheng
21da590afc Remove UE4 references in source control, AssetTools, Persona
#jira UE-111057, UE-111061, UE-111065, UE-111449, UE-111508
#robomerge Release-5.0-EarlyAccess
#rb trivial
#preflight 605ce8ea5e87c40001cb39e9

[CL 15834507 by daren cheng in ue5-main branch]
2021-03-25 18:44:53 -04:00
daniel wright
4cb3062eb8 Changed lack of Embree to be a warning, not error log, to not fail DDC build commandlet
#ROBOMERGE-SOURCE: CL 15828365 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v785-15821902)

[CL 15834014 by daniel wright in ue5-main branch]
2021-03-25 18:24:34 -04:00
will damon
0a4e702859 Remove all tessellation support from Metal RHI
- Also, remove _NOTESS Metal profile

#rb christopher.waters, richard.wallis, lukas.hermanns, rolando.caloca
#jira UE-94564
#rnx

[CL 15831929 by will damon in ue5-main branch]
2021-03-25 16:56:00 -04:00
Matt Peters
fd97028c28 Change presave prototype to take an FObjectSaveContextRef to provide more information about the save parameters.
#rb Francis.Hurteau, Devin.Doucette
#rn Minor Cooking

[CL 15831839 by Matt Peters in ue5-main branch]
2021-03-25 16:51:36 -04:00
Guillaume Abadie
fe9fd09d40 Implements SetGlobalShaderCacheOverrideDirectory
#rb luke.thatcher
#preflight 605cccf90944f60001c952eb

[CL 15831586 by Guillaume Abadie in ue5-main branch]
2021-03-25 16:38:44 -04:00
Patrick Laflamme
8da434bb8f Fixed hang (unexpected long time) in CrashReporterClient when processing the minidump to show the user the crash information. In somes cases, it could take several minutes (>15 minutes) leading the user to think that CRC hung or crashed.
The issue seems to appears randomly. It might be a DLL incompatibility, a memory stomp or a race condition, but when it happened, the system tried to search the Windows system modules images on the user disk, scanning all project assets for each module. The modules causing problems were the system ones like the ones from "C:\Windows\System32" or "C:\Program Files\Common Files" and the system was trying to find the images on D: drive, scanning several thousands of files. The issue could be observed with ProcessMonitor and looking at CRC process activity.

The faulty call was 'ReloadWide()'. Commenting it out fixed the issue and did not exhib any obvious regressions. Considering that we configured the MS debug engine to load symbols only when needed, forcing it to flush and reload all the symbols looked misplaced and counter-productive.

Tested CRC with the Editor in a dev environment.
Tested 'debug ensure' followed by 'debug crash'
Tested with a 'real' crash (access violation)
Tested CRC running in 'monitor mode' and in 'standalone mode'.

#rb Johan.Berg
#jira FROST-1416

[CL 15831144 by Patrick Laflamme in ue5-main branch]
2021-03-25 16:17:56 -04:00
Devin Doucette
89eb2eef0f DDC: Fixed a compile error inside a checkfSlow
#rb trivial
#rnx

[CL 15830267 by Devin Doucette in ue5-main branch]
2021-03-25 15:52:40 -04:00
mihnea balta
d5c41b1dec More cleanup for UE4 references.
#rb trivial
#rnx
#jira UE-111661 UE-111087 UE-111327 UE-111056 UE-111062 UE-111414 UE-111417 UE-111415 UE-111453 UE-111474 UE-111729

#ROBOMERGE-SOURCE: CL 15825946 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v785-15821902)

[CL 15829883 by mihnea balta in ue5-main branch]
2021-03-25 15:42:37 -04:00
Devin Doucette
d87eb29d07 DDC: Switched to WriteToString in the Jupiter backend
#rb Zousar.Shaker
#rnx

[CL 15829627 by Devin Doucette in ue5-main branch]
2021-03-25 15:34:31 -04:00
ionut matasaru
46e8495f46 [Insights] Changed trace event for second GPU to use same "GpuProfiler" logger (instead of a new "GpuProfiler2" logger).
#fyi uriel.doyon

[CL 15818384 by ionut matasaru in ue5-main branch]
2021-03-25 04:32:14 -04:00
mark lintott
86f5949387 #jira UE-111548
#rb trivial
Removed reference to ue4

#ROBOMERGE-SOURCE: CL 15801766 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15807997 by mark lintott in ue5-main branch]
2021-03-24 16:38:38 -04:00
matt kuhlenschmidt
30e485f0f8 Updated async task notifications to the new progress notification api and reskined a few misc notifications
#rb lauren.barnes

#ROBOMERGE-SOURCE: CL 15797475 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15807602 by matt kuhlenschmidt in ue5-main branch]
2021-03-24 16:26:43 -04:00
mark lintott
8ed24f82c6 #jira UE-111654
#rb trivial
Removed references to UE4 in comments

#ROBOMERGE-SOURCE: CL 15796780 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15797094 by mark lintott in ue5-main branch]
2021-03-24 08:14:12 -04:00
sebastian nordgren
da18b88772 Fixed transposed name and type in the Haptic Feedback Effect AssetTypeActions implementations.
#jira UE-111874
#rb paul.chipchase

[CL 15795318 by sebastian nordgren in ue5-main branch]
2021-03-24 06:11:04 -04:00
Andriy Tylychko
327a94d1a4 StatsThread replaced by a Pipe:
* the thread was removed and its surrounding was cleaned up a bit
* ENamedThreads::StatsThread (and relatives) deprecated
* support for single-threaded execution looks a bit messy because it still have to be based on the old TaskGraph API until we convert the game thread to the new API (which will be one of the very last things)
* despite the direct usage of ENamedThreads::StatsThread from an external code is highly unlikely, to preserve backward compatiblity internally TaskGraph redirects all remaining stats tasks to StatsPipe

#rb martin.ridgers

[CL 15794122 by Andriy Tylychko in ue5-main branch]
2021-03-24 04:47:07 -04:00
daniel wright
64d93669a5 Fixed crash cooking when project does not have r.GenerateMeshDistanceFields enabled
#ROBOMERGE-SOURCE: CL 15788010 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15790801 by daniel wright in ue5-main branch]
2021-03-23 22:43:50 -04:00
daniel wright
1a06f03491 Fixed Linux compile error
#ROBOMERGE-SOURCE: CL 15785161 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15790694 by daniel wright in ue5-main branch]
2021-03-23 22:41:24 -04:00
Daniel Wright
697b5b9cf6 Sparse, narrow band, streamed Mesh Signed Distance Fields
* SDFs are now generated, allocated from the atlas and uploaded in 8^3 bricks (7^3 unique data, half voxel padding).
 * Tracing must load the brick index from the indirection table, and only bricks near the surface are stored
 * 3 mips are now generated, with the lowest resolution always loaded and the other 2 streamed
 * SDFs are now G8 narrow band.  Lower resolution mips must be traversed when querying distance to nearest surface far away from the surface
 * The Distance Field Brick Atlas is now stored for each FScene and dynamically resized based on needs with a GPU memcopy
 * Brick atlas uses a 1d pooled allocator which has no fragmentation and greatly reduces packing waste over the 3d allocator
 * Added new indirection for Distance Field Asset data, so that only a single entry needs to be updated when a mip is streamed in or out in scenes with millions of instances
 * Compute shaders operating on distance field instances generate streaming requests, which are async read back to CPU, turned into IO requests, which are polled and when complete uploaded to atlases
 * Any mesh instance inside the Global SDF extent (200m) requests mip1, and at 50m requests mip2
 * Now using a batched compute scatter to upload to the distance field atlas instead of RHIUpdateTexture3d, to bypass alignment restrictions and per-upload overhead
 * Distance Field streaming uses an async task to move Memcpy and IO request overhead off of the Rendering Thread
 * Distance Field Visualization now computes a normal from the SDF gradient and does simple lighting to better visualize the scene representation
 * Increased r.DistanceFields.MaxPerMeshResolution from 128 to 512, to better represent large objects
 * Mesh SDF generation now uses an Embree point query to calculate closest unsigned distance, and then a much smaller set of rays to count backfaces for negative region determination, for a 11x speedup
 * Upgraded mesh utilities to Embree 3.12.2 to get point queries
 * Fixed wrong transform used for SDF normals in Lumen, causing non-uniformly scaled meshes to have incorrect Surface Cache interpolation
 * Fixed Static Mesh materials not getting PostLoaded before SDF build, causing their blend modes to be wrong for the build, which corrupts the DDC.  Also included those blend modes in the DDC key.

Original costs on 1080 GTX (full updates on everything and no screen traces)
10.60ms   UpdateGlobalDistanceField
3.62ms   LumenReflectiveTest.DirectionalLight_1 Shadowmap 1
1.73ms   VoxelizeCards Clipmaps=[0,1,2,3]
0.38ms   TraceCards 1 dispatch 1 groups
0.51ms   TraceCards 1 dispatch 1 groups

Sparse SDF costs
12.06ms   UpdateGlobalDistanceField
4.35ms   LumenReflectiveTest.DirectionalLight_1 Shadowmap 1
2.30ms   VoxelizeCards Clipmaps=[0,1,2,3]
0.69ms   TraceCards 1 dispatch 1 groups
0.77ms   TraceCards 1 dispatch 1 groups

Tested: TopazEntry PC, Reverb PC and PS5, EngineTests, QAGame, Rift, Frosty P_Construct_WP, FortGPUTestbed

#rb Krzysztof.Narkowicz

#ROBOMERGE-OWNER: Daniel.Wright
#ROBOMERGE-AUTHOR: daniel.wright
#ROBOMERGE-SOURCE: CL 15784493 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)
#ROBOMERGE-CONFLICT from-shelf

[CL 15790658 by Daniel Wright in ue5-main branch]
2021-03-23 22:40:05 -04:00
brandon schaefer
efe06157fe Fix Embree logic, shared libraries should be in Engine/Binaries, moving Linux parts there for now
#jira UE-111648
#rb none
[FYI] Michael.Sartain

#ROBOMERGE-SOURCE: CL 15782584 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15789900 by brandon schaefer in ue5-main branch]
2021-03-23 21:45:07 -04:00
patrick enfedaque
e8ea35842e SourceControlHelper: Replace UE4 by UE in comment
#jira UE-111669

#rb none

#ROBOMERGE-SOURCE: CL 15776338 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15786021 by patrick enfedaque in ue5-main branch]
2021-03-23 17:59:47 -04:00
Andriy Tylychko
02dd9b8552 TasksInsights: added info about prerequisites to task tooltips, limited the max number of task relations drawn to avoid UI stalls
#fyi catalin.Dragoiu

[CL 15781593 by Andriy Tylychko in ue5-main branch]
2021-03-23 14:34:46 -04:00
Patrick Boutot
17e2d4886e Slate: Convert SBorder attributes to SlateAttributes
#jira UE-109146
#rb vincent.gauthier
#preflight 605a0c8ade09250001e33a7d

[CL 15779227 by Patrick Boutot in ue5-main branch]
2021-03-23 12:33:14 -04:00