29 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
dmytro ivanov
bfed790238 Tracing Size == 0 events in libc.so malloc/free/etc memory tracer on Android
#jira UE-200096
#rb ionut.matasaru

[CL 30428774 by dmytro ivanov in ue5-main branch]
2023-12-21 11:44:23 -05:00
dmytro ivanov
b8a0694f0a Hooking libc.so malloc/free/etc into memory tracer on Android
#jira UE-200096
#rb Chris.Babcock, ionut.matasaru

[CL 30376336 by dmytro ivanov in ue5-main branch]
2023-12-18 10:56:29 -05: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
dmytro ivanov
a73d0e1f9f Enable support for non-4k virtual page sizes on Android, part 1
#jira UE-192126
#rb Chris.Babcock

[CL 26911522 by dmytro ivanov in ue5-main branch]
2023-08-08 04:17:39 -04:00
dmytro ivanov
2536e616e1 Update cmake to 3.22.1
#jira UE-192126
#rb Chris.Babcock

[CL 26894364 by dmytro ivanov in ue5-main branch]
2023-08-07 14:56:20 -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
chris babcock
74d14baa79 Update ValidatePermissions utility
#jira UE-131116
#android
[REVIEW] [at]Jack.Porter
#rb Jack.Porter

#preflight https://horde.devtools.epicgames.com/job/62276cd3695c94f981a54423
#lockdown Mitchell.Wilson

#ROBOMERGE-AUTHOR: chris.babcock
#ROBOMERGE-SOURCE: CL 19302997 in //UE5/Release-5.0/... via CL 19304339
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19346867 by chris babcock in ue5-main branch]
2022-03-10 20:50:01 -05:00
chris babcock
ffdf3d4796 Fully specify configrules key and provide CRC
#android
[REVIEW] [at]Allan.Bentham
#rb Allan.Bentham

#ROBOMERGE-AUTHOR: chris.babcock
#ROBOMERGE-SOURCE: CL 18329983 via CL 18330402 via CL 18330983 via CL 18331222 via CL 18331495 via CL 18331655 via CL 18332062 via CL 18332121
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18332146 by chris babcock in ue5-release-engine-test branch]
2021-11-30 16:18:57 -05:00
Ben Marsh
99be00dcdb Merging latest from Private-Starship.
[CL 13192225 by Ben Marsh in ue5-main branch]
2020-05-05 18:50:52 -04: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
Juan Canada
2ecf4f9708 Merging //UE4/Dev-Main@10877709 to Dev-RenderPlat-Staging(//UE4/Dev-Rendering)
#rnx
#rb none

[CL 10895568 by Juan Canada in Dev-RenderPlat-Staging branch]
2020-01-07 13:45:01 -05:00
Ryan Durand
28d3d740dd (Integrating from Dev-EngineMerge to Main)
Second batch of remaining Engine copyright updates.

#rnx
#rb none
#jira none

[CL 10871196 by Ryan Durand in Main branch]
2019-12-27 07:44:07 -05:00
chris babcock
b330185699 Small update to configrules tool
#jira UE-80738
#ue4
#android
#rb trivial



#ROBOMERGE-SOURCE: CL 9480068 via CL 9480073
#ROBOMERGE-BOT: (v508-9471939)

[CL 9480074 by chris babcock in Main branch]
2019-10-08 15:42:55 -04:00
chris babcock
98a8642393 Fix for issue when configrules.txt less than 80 bytes (contributed by scahp)
#jira UE-80738
#PR #6237
#ue4
#android
#rb trivial



#ROBOMERGE-SOURCE: CL 9479867 via CL 9479874
#ROBOMERGE-BOT: (v508-9471939)

[CL 9479875 by chris babcock in Main branch]
2019-10-08 15:33:23 -04:00
chris babcock
6e6ae532ab Add permission validation tool for Android
#ue4
#android
#rb Jack.Porter
[FYI] Jack.Porter



#ROBOMERGE-SOURCE: CL 5822270 via CL 5822271 via CL 5822272 via CL 5827640

[CL 5827666 by chris babcock in Main branch]
2019-04-11 09:43:27 -04:00
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00
chris babcock
ececa2cb54 Fix ConfigRules.jar parsing for Linux line endings
#jira UE
#ue4
#android
[FYI] Jack.Porter
#rb ryan.king

#ROBOMERGE-SOURCE: CL 4433328 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4433330 by chris babcock in Staging-4.21 branch]
2018-10-05 15:55:20 -04:00