Commit Graph

558 Commits

Author SHA1 Message Date
Lukas Hermanns
b6e3a58182 Allow FRenderResource to be initialized even on exit request.
#rb Ben.Ingream
#jira UE-89533, UE-89166, UE-88809
#rnx

[CL 11650089 by Lukas Hermanns in 4.25 branch]
2020-02-27 09:30:11 -05:00
Arciel Rekman
5a57b52139 Vulkan: prevent crash on exit due to SCL (UE-89478).
- Code archive gets added to the pending delete queue, which is flushed too late (after the pak file module has already been unloaded).

#rb Ben.Ingram
#fyi Dmitriy.Dyomin
#jira UE-89478

[CL 11619652 by Arciel Rekman in 4.25 branch]
2020-02-25 16:55:42 -05:00
Arciel Rekman
bbcd93796e Allow missing shader resources for other shader platforms (UE-89441).
#rb Ben.Ingram
#jira UE-89441
#fyi Carl.Lloyd, Jeff.Fisher

[CL 11611017 by Arciel Rekman in 4.25 branch]
2020-02-25 13:38:40 -05:00
carl lloyd
751decbf2e Fix for Android Vulkan where UAV to texture transitions do not use ComputeToGFX which can cause corruption on some GPU's due to missing barrier
#review-11564895 @Luke.Thatcher @Zach.Bethel

[CL 11596299 by carl lloyd in 4.25 branch]
2020-02-25 04:40:10 -05:00
carl lloyd
9cc32535eb Fix for missing GPU Stats enabled tests in RealtimeGPUProfiler
#review-11575005 @Dmitriy.Dyomin
#rb Dmitriy.Dyomin
#jira none

[CL 11575404 by carl lloyd in 4.25 branch]
2020-02-21 08:21:13 -05:00
Yujiang Wang
48558f2ea4 Add missing part of UnrealInsights GPU track improvements (from Dev-Rendering)
* Take Dev-Rendering if any conflict happens

#rb none
#jira none

[CL 11556366 by Yujiang Wang in 4.25 branch]
2020-02-19 18:32:28 -05:00
Yujiang Wang
c61da1920b UE-89171: Clamp GPU profiler events start and end timestamps
#rb none
#jira UE-89171

[CL 11555948 by Yujiang Wang in 4.25 branch]
2020-02-19 17:57:47 -05:00
Zabir Hoque
fb461aec66 Fix unity build break.
#rb: none
#jira: none

[CL 11531896 by Zabir Hoque in 4.25 branch]
2020-02-18 19:11:23 -05:00
Zabir Hoque
b4f74d9fe7 Fix another merge issue where previous change was dropped.
#FYI: Rolando.Caloca; Josh.Adams
#rb: none
#Jira: none

[CL 11531721 by Zabir Hoque in 4.25 branch]
2020-02-18 19:10:03 -05:00
Ben Ingram
0496f54dd5 #jira UE-88627
Add GetShaderName() accessor to FRHIShader, fix compile error with certain build config
#rb none

[CL 11389015 by Ben Ingram in Main branch]
2020-02-12 13:34:35 -05:00
Rolando Caloca
5b82f15def Copying //UE4/Dev-RenderPlat-Staging@11388153 to //UE4/Main
#rb none
#rnx

[CL 11388545 by Rolando Caloca in Main branch]
2020-02-12 13:27:19 -05:00
Ben Ingram
f7de3b4f6b #jira UE-88436
Convert some checks() into checkf(), to hopefully gather more information about failing check
#rb none

[CL 11355736 by Ben Ingram in Main branch]
2020-02-11 16:05:35 -05:00
jeremy moore
a9b2e229b3 #jira UE-88293
Fix potential null dereference
#rnx


#ROBOMERGE-SOURCE: CL 11292515 via CL 11292519 via CL 11292521 via CL 11292524
#ROBOMERGE-BOT: (v647-11244347)

[CL 11293015 by jeremy moore in Main branch]
2020-02-07 13:08:18 -05:00
Josh Adams
5032cf8753 - Fixed copyright notices
#rb trivial
#jira UE-88281

[CL 11291818 by Josh Adams in Main branch]
2020-02-07 11:01:05 -05:00
will damon
829a7d186b Enforce safe alignment for SRVs onto global dynamic read buffers.
#rb rolando.caloca arne.schober
[FYI] richard.wallis matt.collins michael.trepka


#ROBOMERGE-SOURCE: CL 11291585 via CL 11291586
#ROBOMERGE-BOT: (v647-11244347)

[CL 11291616 by will damon in Main branch]
2020-02-07 10:39:25 -05:00
peter sauerbrei
fc5642954c fixes for the PSO cache to make it so we can prioritize and compile only those PSOs up front we want based on user category
#rb chris.bunner, ben.salem
[FYI] will.fissler, michael.trepka


#ROBOMERGE-SOURCE: CL 11291332 via CL 11291336 via CL 11291342 via CL 11291348
#ROBOMERGE-BOT: (v647-11244347)

[CL 11291349 by peter sauerbrei in Main branch]
2020-02-07 10:12:13 -05:00
jeremy moore
60e9de7937 Fixed shader DDC key to use build target platform instead of editor platform to get virtual texture support value.
Rearranged DDC key composition since we need to flush out incorrectly keyed shaders in the cache.
[FYI] mickael.gilabert


#ROBOMERGE-SOURCE: CL 11290017 via CL 11290018 via CL 11290019
#ROBOMERGE-BOT: (v647-11244347)

[CL 11290020 by jeremy moore in Main branch]
2020-02-06 23:25:12 -05:00
Josh Adams
aa9705149b Copying Private-LoadTimes-4.24 stream to Main. Biggest changes are in Materials/Shader memory freezing.
#rb none

[CL 11282608 by Josh Adams in Main branch]
2020-02-06 13:13:41 -05:00
florin pascu
954a19f055 MaskedOnly Prepass Mobile Off by default. Enable with r.Mobile.EarlyZPassOnlyMaterialMasking=1. Requires shaders cooking!
#rb  Dmitriy.Dyomin, Jack.Porter
#jira UE-85333


#ROBOMERGE-SOURCE: CL 11278935 via CL 11278936 via CL 11278937
#ROBOMERGE-BOT: (v0-11244347)

[CL 11278938 by florin pascu in Main branch]
2020-02-06 05:41:00 -05:00
Stefan Boberg
55a8b15f1f Copying //UE4/Dev-Core to Main (//UE4/Main)
#rb none

[CL 11258477 by Stefan Boberg in Main branch]
2020-02-05 14:26:36 -05:00
arciel rekman
650c7ce628 Resubmitting: stabilize the order of shaders in the shader library (FORT-255406)
- Previously the order of shaders would be defined by the order of adding them, which can vary even without any change due to SCWs finishing the jobs at a different time.
- Fixed a previous compile issue and added comments re: TSortedMap and TMap compatibility after checking with the Core team.

#rb Daniel.Lamb (discussed)
[CODEREVIEW] Dmitriy.Dyomin


#ROBOMERGE-SOURCE: CL 11248093 via CL 11248095 via CL 11248101
#ROBOMERGE-BOT: (v647-11244347)

[CL 11254818 by arciel rekman in Main branch]
2020-02-05 12:49:12 -05:00
bob tellez
0fa930ad38 Back out changelist 11224248. CIS error
[FYI] Arciel.Rekman


#ROBOMERGE-SOURCE: CL 11225960 via CL 11228025 via CL 11228838
#ROBOMERGE-BOT: (v644-11213502)

[CL 11241725 by bob tellez in Main branch]
2020-02-04 22:32:52 -05:00
arciel rekman
77f933e4ce Stabilize the order of shaders in the shader library (FORT-255406).
- Previously the order of shaders would be defined by the order of adding them, which can vary even without any change due to SCWs finishing the jobs at a different time.

#rb Daniel.Lamb (discussed)
[CODEREVIEW] Dmitriy.Dyomin


#ROBOMERGE-SOURCE: CL 11224248 via CL 11227707 via CL 11228378
#ROBOMERGE-BOT: (v644-11213502)

[CL 11241606 by arciel rekman in Main branch]
2020-02-04 22:30:44 -05:00
Chris Gagnon
c3f9a18841 Merge from Main in prep for Dev-Tools-Staging Copy up
#rb none

[CL 11221539 by Chris Gagnon in Dev-Tools-Staging branch]
2020-02-04 17:00:31 -05:00
jian ru
01aa1ac5a1 Added an option that moves light octree traversal and FLightPrimitiveInteraction creation to an async task. The task overlaps with a large portion of InitViews (e.g. ComputeViewVisibility) and sync doesn't happen until InitDynamicShadows. It can even overlap with RenderPrePass r.DoInitViewsLightingAfterPrepass is set. This option reduced RT time by 0.53 ms on a type of consoles in a 10-run replay A/B test.
[FYI] Krzysztof.Narkowicz,Ben.Woodhouse


#ROBOMERGE-SOURCE: CL 11206777 via CL 11206820 via CL 11206876
#ROBOMERGE-BOT: (v643-11205221)

[CL 11206936 by jian ru in Main branch]
2020-02-03 12:03:27 -05:00