Commit Graph

10 Commits

Author SHA1 Message Date
anderson ramos
05c7b1ad2e [Engine] Add PSO compilation metric
#rb Peter.Sauerbrei, Wes.Hunt
#rnx

[CL 35802749 by anderson ramos in ue5-main branch]
2024-08-26 12:59:15 -04:00
allan bentham
900435d843 Add precache priority to RHI gfx PSO creation info.
Pass through PSO compile priorities to Android external compilers.
Add parameter to optionally control Android external PSO compiler affinity and cpu scheduling settings.
Add ability to re-compile a vulkan PSO in the engine's process if the external compiler fails.
Add option to entirely disable all external PSO compiles if the count of failures exceeds a certain threshold.

#rb Chris.Babcock, denys.mentiei

[CL 34120165 by allan bentham in ue5-main branch]
2024-06-05 07:04:43 -04:00
jon olick
ce530f8a4e Fix for exit crash in PSO Service
#jira UE-214208
#rb Allan.Bentham

[CL 33514876 by jon olick in ue5-main branch]
2024-05-08 11:33:37 -04:00
allan bentham
9abf69f0bd Android Vulkan external PSO compiler precache support
- currently default disabled.
 - external PSO compilers now pass shared memory blocks back and forth to the engine.
 - When precaching and external compilers are enabled the external compilers are created during RHI init.
 - Chunked Pipeline cache can do limited tests to check if a PSO is required before compiling (where EXTPipelineCreationCacheControl is supported)
 - added vulkan GetPrecachePSOHashVersion that should be updated if RHIComputePrecachePSOHash changes.
 - Updated vulkan's PrecachePSOHash.

#rb chris.babcock, Dmitriy.Dyomin
[FYI] jeannoe.morissette

[CL 28130863 by allan bentham in ue5-main branch]
2023-09-22 08:09:25 -04:00
carl lloyd
edd3b69886 VulkanRHI: Fixes for PSO compilation
Added VkPipelineShaderStageRequiredSubgroupSizeCreateInfo
Added VkAttachmentReferenceStencilLayout
Added more nullptr checks for pNext

#rb Allan.Bentham

[CL 25551558 by carl lloyd in ue5-main branch]
2023-05-19 16:24:28 -04:00
allan bentham
ecddd038ba Fix a crash with the vulkan PSO compile service which occurs on subsequent invocations.
[FYI] carl.lloyd
#preflight 63ee80473c1eb56f0546cd8a
#preflight 63ee8e4d4d2bd434666f85b5

[CL 24269317 by allan bentham in ue5-main branch]
2023-02-16 16:59:26 -05:00
allan bentham
7d1ae4b3a1 Ensure PSO size parameter is returned when using Android's out-of-process PSO service.
Fixes potential issues with vulkan PSO LRU.
silence some direct to logcat spam from the vulkan PSO compiler service
Add simple verification code to compare PSOs from android services vs engine.
#rb carl.lloyd

[CL 21997860 by allan bentham in ue5-main branch]
2022-09-13 21:52:21 -04:00
carl lloyd
8dfc86400c Added FSR support to Vulkan PSO Processes
#rb Allan.Bentham
#preflight 6317e698967ffc68fb79aed6

[CL 21864653 by carl lloyd in ue5-main branch]
2022-09-07 18:05:22 -04:00
carl lloyd
88f38fb807 Fix for process crash on PSOService shutdown
#rb trivial

[CL 21499890 by carl lloyd in ue5-main branch]
2022-08-22 21:20:22 -04:00
jeannoe morissette
7ebedb9384 Added support for compiling Vulkan PSO's in separate process
#rb jeannoe.morissette
#preflight 62ff8206086f90bbc4fe751f

[CL 21499839 by jeannoe morissette in ue5-main branch]
2022-08-22 21:18:17 -04:00