- Add a new API to release preloaded shader to provide a way to manage preloaded data (which was previously statically allocated).
#rb James.Doverspike, Richard.Wallis
[REVIEW] [at]Allan.Bentham, [at]Richard.Wallis
#preflight 625e11c4db15ac92db7ee858
#ROBOMERGE-AUTHOR: arciel.rekman
#ROBOMERGE-SOURCE: CL 19832275 via CL 19833640 via CL 19837454 via CL 19854946 via CL 19855339
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)
[CL 19856713 by arciel rekman in ue5-main branch]
Add an option to use a thread pool instead of taskgraph for GFX PSO precompile tasks.
Disabled by default. Use r.pso.PrecompileThreadPoolSize=N to enable.
threadpool PSO precompile tasks are not added as dependencies of RHIcmd list and should not block RHIT.
#rb Andriy.Tylychko, Arne.Schober
[FYI] peter.sauerbrei, jack.porter, Arciel.Rekman
#ROBOMERGE-OWNER: allan.bentham
#ROBOMERGE-AUTHOR: allan.bentham
#ROBOMERGE-SOURCE: CL 19571102 via CL 19571115 via CL 19571272 via CL 19571286
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)
[CL 19575811 by allan bentham in ue5-main branch]
Enable PSO cache CVars by default on Windows. This has no effect on D3D11 since the cache is disabled if GRHISupportsPipelineFileCache is false.
#ROBOMERGE-AUTHOR: chris.genova
#ROBOMERGE-SOURCE: CL 18785319 via CL 18785326 via CL 18785329 via CL 18785330 via CL 18785331 via CL 18785353 via CL 18785366
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)
[CL 18785369 by chris genova in ue5-main branch]
- 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]
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]
- 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]
[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]
#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]
#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]
#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]
#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]
#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]