Commit Graph

46 Commits

Author SHA1 Message Date
dmitriy dyomin
7f45c365e4 Add multiview and FDM/FSR attachments to the PSO caching system (Contributed by: Remi Palandri)
#jira UE-135687
#8656
#rb arciel.rekman

#ROBOMERGE-AUTHOR: dmitriy.dyomin
#ROBOMERGE-SOURCE: CL 18336352 in //UE5/Release-5.0/... via CL 18336361
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18336365 by dmitriy dyomin in ue5-release-engine-test branch]
2021-12-01 00:26:38 -05:00
arciel rekman
b81f760551 Disable auto-saving of the PSO cache file.
- We are already saving it on application exit (see FShaderPipelineCache::Close() and ~FShaderPipelineCache()) or on application deactivate (for platforms that don't exit, see PipelineStateCacheOnAppDeactivate).
- Auto-saving can lead to a deadlock: the scope of the FileCache lock is too broad, and save operation may itself need to execute async work (read a file from the pak), which will deadlock if all worker thread are blocked trying to take the same FileCache lock (happens when they try to add a PSO to the cache).
- There's no explicit disable toggle, but setting the autosave period to MAX_int32 seconds should do that.

#rb Chris.Genova
[REVIEW] [at]Chris.Genova
[FYI] Christina.Sturgill

#ROBOMERGE-AUTHOR: arciel.rekman
#ROBOMERGE-SOURCE: CL 18288437 via CL 18288905 via CL 18288949 via CL 18290355 via CL 18290406
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18290429 by arciel rekman in ue5-release-engine-test branch]
2021-11-24 18:30:09 -05:00
aurel cordonnier
69fe095547 Merge from Release-Engine-Staging @ 17636544 to Release-Engine-Test
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17638842 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-27 19:54:25 -04:00
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
christopher waters
6c4b4a91a4 Adding a required StencilRef argument to SetGraphicsPipelineState.
#jira none
#rb zach.bethel, mihnea.balta, florin.pascu
#preflight 61312f4a79ce170001d4a79e

#ROBOMERGE-SOURCE: CL 17422777 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)
#ROBOMERGE[bot1]: emt

[CL 17422941 by christopher waters in ue5-release-engine-test branch]
2021-09-03 12:04:52 -04:00
charles bloom
494b3de14e allow SerializeCompressedNew to read less than requested
fix FArchiveLoadCompressedProxy reading past end on last partial chunk

#rb devin.doucette

#ROBOMERGE-SOURCE: CL 17038478 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v848-17036448)

[CL 17038565 by charles bloom in ue5-release-engine-test branch]
2021-08-03 16:55:49 -04:00
aurel cordonnier
02c0f425e8 Copy up from Release-Engine-Staging @ 16738359
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719

[CL 16738582 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-22 00:27:54 -04:00
Marc Audy
e80ea6b959 Merge from Release-Engine-Staging @ 16444985
This represents UE4/Main @ 16445039 and Dev-PerfTest @ 16444526

[CL 16445122 by Marc Audy in ue5-release-engine-test branch]
2021-05-25 02:43:26 -04:00
christopher waters
83f70197d3 Tessellation Removal: Removing RHI Hull/Domain shader types and enums.
#rb lukas.hermanns
#jira UE-94564
#preflight 607f2e11eb4f050001d4655e

[CL 16066223 by christopher waters in ue5-main branch]
2021-04-20 17:00:25 -04:00
christopher waters
edf90e8d4a Adding mesh shader support to pipeline caches.
- Pipeline caches had serialization code for the new types but wasn't creating the shaders on preload
- Fixing the cache commandlet to be flexible with the supported shader types.

#jira none
#rb jason.nadro, arciel.rekman

[CL 15801914 by christopher waters in ue5-main branch]
2021-03-24 12:45:47 -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
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
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -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
michael trepka
805cee2ab2 Fixed uninitialized varaible in FShaderPipelineCache that was causing stable cache load failures on some computers
[FYI] Arciel.Rekman, Chris.Bunner


#ROBOMERGE-SOURCE: CL 12204530 via CL 12210996 via CL 12211047
#ROBOMERGE-BOT: (v662-12191386)

[CL 12211135 by michael trepka in Main branch]
2020-03-16 13:29:59 -04:00
rolando caloca
b4ddf282b6 UE4.25 - Typo fix
#rb none
#jira UE-90413
#6772

#ROBOMERGE-SOURCE: CL 12132193 in //UE4/Release-4.25/... via CL 12132216
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v659-12123632)

[CL 12140394 by rolando caloca in Main branch]
2020-03-11 17:10:26 -04:00
peter sauerbrei
32a2bf7180 put back in the prioritized PSO caching system
#rb chris.bunner


#ROBOMERGE-SOURCE: CL 11580938 via CL 11580948 via CL 11580955 via CL 11580964
#ROBOMERGE-BOT: (v654-11333218)

[CL 11580972 by peter sauerbrei in Main branch]
2020-02-21 19:02:18 -05:00
dmitriy dyomin
f276753f0a Avoid creating tons of Blend, DepthStencil, Rasterizer states when caching PSOs
#ROBOMERGE-SOURCE: CL 11574745 via CL 11574747 via CL 11574748 via CL 11574749
#ROBOMERGE-BOT: (v654-11333218)

[CL 11574776 by dmitriy dyomin in Main branch]
2020-02-21 04:23:26 -05:00
peter sauerbrei
00b8de8412 fix for compile failure
#rb none


#ROBOMERGE-SOURCE: CL 11467783 via CL 11467791 via CL 11467868 via CL 11467925
#ROBOMERGE-BOT: (v654-11333218)

[CL 11467981 by peter sauerbrei in Main branch]
2020-02-17 17:34:37 -05:00
peter sauerbrei
8e7df5f8d1 fix for invalid PSO masks when the GameMask is disabled by default and we attempt to gather PSOs
#rb chris.bunner


#ROBOMERGE-SOURCE: CL 11467116 via CL 11467119 via CL 11467124 via CL 11467128
#ROBOMERGE-BOT: (v654-11333218)

[CL 11467276 by peter sauerbrei in Main branch]
2020-02-17 16:56:29 -05:00
peter sauerbrei
64e0c21033 revert out the prioritized PSO caching, seeing some very strange errors which we can't seem to resolve in time for 12.00
#rb none


#ROBOMERGE-SOURCE: CL 11458007 via CL 11458008 via CL 11458009 via CL 11458010
#ROBOMERGE-BOT: (v654-11333218)

[CL 11458011 by peter sauerbrei in Main branch]
2020-02-16 16:20:17 -05:00
peter sauerbrei
9d704722fb fix for PSO Cache not properly setting the mask when no cache is present
#rb thomas.ross


#ROBOMERGE-SOURCE: CL 11450978 via CL 11452366 via CL 11452392 via CL 11452433
#ROBOMERGE-BOT: (v654-11333218)

[CL 11456138 by peter sauerbrei in Main branch]
2020-02-15 10:17:00 -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
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
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00