Commit Graph

141 Commits

Author SHA1 Message Date
mark lintott
b28cc533dc Non-Unity Fix
#rb none
#jira none
#preflight 61adf4f19c77d61007d653aa

#ROBOMERGE-AUTHOR: mark.lintott
#ROBOMERGE-SOURCE: CL 18381150 in //UE5/Release-5.0/... via CL 18381154
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18381157 by mark lintott in ue5-release-engine-test branch]
2021-12-06 06:51:29 -05:00
david harvey
10cba7f17e fix FPlatformProcess::SetupRHIThread calling location.
#jira UECON-499
#rnx
[FYI] mihnea.balta

#ROBOMERGE-SOURCE: CL 17300129 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17300133 by david harvey in ue5-release-engine-test branch]
2021-08-25 05:31:46 -04:00
david harvey
6aaf7c17b5 add FPlatformProcess::SetupRHIThread to match SetupGameThread, SetupRenderThread and SetupAudioThread.
#jira UECON-499
#rnx
#rb eric.mcdaniel

#ROBOMERGE-SOURCE: CL 17300007 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17300012 by david harvey in ue5-release-engine-test branch]
2021-08-25 05:15:14 -04:00
danny couture
a7d587af81 Skip FlushRenderingCommand in slowtask tick when there is nothing to cleanup
#rnx
#rb Francis.Hurteau

#ROBOMERGE-SOURCE: CL 16857570 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16857578 by danny couture in ue5-release-engine-test branch]
2021-07-14 20:21:08 -04:00
Arne Schober
a3c4f5230f U5 - moving the flush from before FlushRHIThreadFlushResources to after FlushRHIThreadFlushResources resulted in the "removal" of the quiescent state of the PipelineStateCache as now parallel RT commands were still able to run while we handle the PSO cache deletions. Unfortunately we now have to double flush (before and after) for some GT related flush cases, but as we try to remove flushes in general this might be acceptable until we find a better solution.
#jira UE-116592
#RB zach.bethel

[CL 16520718 by Arne Schober in ue5-main branch]
2021-06-01 15:37:22 -04:00
dmytro vovk
e9ecfd141a Fixed OGL RHI thread ownership task tag scope
#rb none
#jira none

[CL 16507573 by dmytro vovk in ue5-main branch]
2021-05-31 00:32:31 -04:00
dmytro vovk
481f73da89 Fixed a crash in OGL RHIAcquireThreadOwnership
#codereview Dmitriy.Dyomin
#jira none

[CL 16497719 by dmytro vovk in ue5-main branch]
2021-05-27 23:06:20 -04:00
zach bethel
67229c547a Reworked scene renderer lifetime to allow deferral of scene render cleanup.
This avoids a long stall on mesh draw command recording tasks at the end of the frame and saves about .1 ms of work off the render thread.

#jira UE-114622
#rb luke.thatcher

[CL 16419616 by zach bethel in ue5-main branch]
2021-05-21 11:30:17 -04:00
christopher waters
f872e769eb Before shutting down and deleting the Dynamic RHI, flush any potential queued commands.
PipelineStateCache specifically can now enqueue commands but this should also catch any other uses before here.
Adding explicit Command List argument to FRHIResource::FlushPendingDeletes to a) emphasize that it enqueues commands and b) allow the caller the option to flush the command list afterwards.

#jira none
#rb Arne.Schober
#preflight 60a6c7f60569f300012d6d01

[CL 16411660 by christopher waters in ue5-main branch]
2021-05-20 18:24:37 -04:00
Arne Schober
b2b27bcd1f U5 - Delete Resources on the RHI Thread to fix layering violation
[CL 16246026 by Arne Schober in ue5-main branch]
2021-05-09 23:20:16 -04:00
Marc Audy
8f73cd7fa9 Merge UE5/Release-Engine-Staging @ 15630841 to UE5/Main
This represents UE4/Main @ 15601601

[CL 15631170 by Marc Audy in ue5-main branch]
2021-03-05 19:27:14 -04:00
Marc Audy
9753392e2b Merge UE5/RES CL# 15462083 to UE5/Main
This represents UE4/Main @ 15414221

[CL 15463811 by Marc Audy in ue5-main branch]
2021-02-18 18:13:28 -04:00
Martin Ridgers
44ffd32c00 Bumped render thread heartbeat thread's stack size so that it is big enough to handle failed ensures and checks.
#rb arne.schober
#jira UE-99778,UE-97844
#rnx

[CL 15310141 by Martin Ridgers in ue5-main branch]
2021-02-04 03:53:40 -04:00
Andriy Tylychko
f9968ab727 Task traces: fixed UnrealInsights showing tasks info for GameThreadWaitingForTasks event
#rb none

[CL 15269645 by Andriy Tylychko in ue5-main branch]
2021-02-01 06:17:33 -04:00
Andriy Tylychko
09ad210531 TaskTrace: TaskGraph traces and UnrealInsights support.
added TaskGraph specific traces as a separate channel that needs to be enabled by `-trace=tasks`. They include timing info about all task states and waiting for tasks. UnrealInsights support is limited for now. All info is available, a number of task specific counters are added, but dependency and waiting visualisation is not done yet. Available counters are:
* task latency
* number of scheduled tasks
* number of executing tasks

#rb ionut.matasaru martin.ridgers

[CL 15240172 by Andriy Tylychko in ue5-main branch]
2021-01-28 11:57:16 -04:00
Marc Audy
ada7c144fa Merge //UE5/Release-Engine-Staging @14903491 to //UE5/Main
[CL 14906022 by Marc Audy in ue5-main branch]
2020-12-11 14:21:20 -04:00
Marc Audy
a7f9391231 Merge UE5/Release-Engine-Staging @ 14811410 to UE5/Main
This represents UE4/Main @ 14768117

For ReleaseObjectVersion.h
#lockdown Marcus.Wassmer

[CL 14811440 by Marc Audy in ue5-main branch]
2020-11-24 18:42:39 -04:00
Martin Ridgers
be972be826 Moved the Trace namespace into the UE namespace.
#rb jb
#rnx

[CL 14762673 by Martin Ridgers in ue5-main branch]
2020-11-17 06:54:28 -04:00
danny couture
8f88f4a055 Add some useful Insights trace
#rb Francis.Hurteau

[CL 14487717 by danny couture in ue5-main branch]
2020-10-13 21:04:47 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Arne Schober
290079a7b8 SS - Identify Static initialization for task scopes.
#RB

[CL 14027478 by Arne Schober in ue5-main branch]
2020-08-04 13:44:03 -04:00
Arne Schober
3bf935d1ce Explicitly tagging IsInRenderingThread, IsInGameThread etc. functions to be able to move them between theads in the future. The old behaviour is still in packe to verify the new system, but will be removed in the future.
#RB Andriy.Tylychko, Jonas.Meyer

[CL 13825935 by Arne Schober in ue5-main branch]
2020-07-02 13:21:15 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
jordan cristiano
ef25b11d3f Reverting CL 12692247. We're thinking this is causing GameThreadWaitForTask hangs on all platforms.
[at]mickael.gilabert, [at]jonas.meyer
#rnx

#localization none
#tests Waiting for PF to test on switch.
[FYI] jay.chaney

#ROBOMERGE-SOURCE: CL 13145545 via CL 13145546 via CL 13145547 via CL 13145548 via CL 13145550 via CL 13145555
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)

[CL 13145556 by jordan cristiano in Main branch]
2020-05-03 11:21:41 -04:00