7 Commits

Author SHA1 Message Date
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