Commit Graph

73 Commits

Author SHA1 Message Date
tiago costa
e98ce47a3b Keep track of all callable shaders to build RTPSO
- GetRayTracingCallableLibrary() similar to how we handle hitgroups.
FindRayTracingCallableIndex(...) to query callable shader index in RTPSO.

#rb yuriy.odonnell
#preflight 628620c99016c6dd8974b510

[CL 20278150 by tiago costa in ue5-main branch]
2022-05-19 07:03:30 -04:00
allan bentham
ed40d5a057 Background PSO compililation changes,
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]
2022-03-31 14:25:15 -04:00
allan bentham
bc9a67a871 Android OGL will create multiple separate services for precompiling GLES programs.
only used during PSO precompiling.
This can reduce PSO precompile times by as much as 2/3rds.
It is enabled by default, it can be disabled via Android.OpenGL.NumRemoteProgramCompileServices=0 or setting android configrule variable 'DisableProgramCompileServices' to true.

#rb chris.babcock, Dmitriy.Dyomin
[FYI] peter.sauerbrei, jack.porter


#preflight 6218decf847077002e87365b

#ROBOMERGE-OWNER: allan.bentham
#ROBOMERGE-AUTHOR: allan.bentham
#ROBOMERGE-SOURCE: CL 19147130 via CL 19147174 via CL 19148641 via CL 19148655 via CL 19160382
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19161662 by allan bentham in ue5-main branch]
2022-02-25 19:54:29 -05:00
mihnea balta
6d2e2722ac Pass the render targets information explicitly to FMeshDrawCommand::GetPipelineStateSortingKey, instead of relying on whatever is currently bound.
This method can be called before the render pass is executed, so the currently bound state is irrelevant. The calling code must extract the correct render target configuration from the pass parameters and send it. Relying on ApplyCachedRenderTargets could lead to incorrect sort keys or even crashes when the method was called in between passes, and the previously bound texture pointers were stale.

#jira none
#rnx
#rb Christopher.Waters
#preflight 61b3363313028c27d2928d57

#ROBOMERGE-AUTHOR: mihnea.balta
#ROBOMERGE-SOURCE: CL 18430152 in //UE5/Release-5.0/... via CL 18435290
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18435514 by mihnea balta in ue5-release-engine-test branch]
2021-12-10 17:45:35 -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
graham wihlidal
5eea21442d Refactored mesh shader RHI abstraction into tiers, allowing various platforms to correctly check for optional features (like primitive attribute support)
[FYI] christopher.waters, luke.thatcher, eric.mcdaniel
#preflight 61143a4c9c7bb10001f06277

#ROBOMERGE-SOURCE: CL 17143667 via CL 17143685
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17143691 by graham wihlidal in ue5-release-engine-test branch]
2021-08-11 18:29:54 -04:00
arciel rekman
23af03520a Don't crash addref'ing empty bound states (UE-118955).
#rb Chris.Waters
#jira UE-118955

#ROBOMERGE-SOURCE: CL 16777498 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16777506 by arciel rekman in ue5-release-engine-test branch]
2021-06-24 15:50:38 -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
arciel rekman
f0662592a1 Re-enable async compilation for the (yet-to-be-cached) compute PSOs.
#rb none
#jira none
[FYI] Dmitriy.Dyomin

#ROBOMERGE-SOURCE: CL 16613011 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16613017 by arciel rekman in ue5-release-engine-test branch]
2021-06-09 17:15:38 -04:00
arciel rekman
58506bd31b Undo my previous CL 16611783 (more changes needed).
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 16611842 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16611845 by arciel rekman in ue5-release-engine-test branch]
2021-06-09 16:24:26 -04:00
arciel rekman
088da5f292 Re-enable async compilation for the (yet-to-be-cached) compute PSOs.
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 16611783 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16611790 by arciel rekman in ue5-release-engine-test branch]
2021-06-09 16:20:35 -04:00
arciel rekman
1a8393afdf Vulkan: add RHICreateComputePipelineState implementation.
#rb Dmitriy.Dyomin, Mihnea.Balta
#[review] [at]Dmitriy.Dyomin, [at]Mihnea.Balta, [at]JeanNoe.Morissette
#jira FORT-376644
#[robomerge] 17.20

#ushell-cherrypick of 16604967 by Arciel.Rekman

#ROBOMERGE-SOURCE: CL 16611650 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16611654 by arciel rekman in ue5-release-engine-test branch]
2021-06-09 16:10:39 -04:00
Dmitriy Dyomin
2900fa883b Disable compute PSO caching for Android to unblock FN testing
#fyi arciel.rekman

[CL 16508052 by Dmitriy Dyomin in ue5-main branch]
2021-05-31 05:32:39 -04:00
Dmitriy Dyomin
f6bf7249d3 Fixed: Crash on load running FN on Android Vulkan
Disabled async compute PSO compilation as its not implemented yet
#fyi arciel.rekman

[CL 16508024 by Dmitriy Dyomin in ue5-main branch]
2021-05-31 05:19:16 -04:00
aurel cordonnier
43fa62fcd8 Merge from Release-Engine-Test @ 16487383 to UE5/Main
This represents UE4/Main @ 16445039 and Dev-PerfTest @ 16444526

[CL 16488106 by aurel cordonnier in ue5-main branch]
2021-05-27 13:40:37 -04:00
Arne Schober
45a7db78a4 U5 - defer delete PSO cache entries on the RHI CmdList timeline in conjunction with the recent change of moving RHIResources on the same timeline.
[CL 16262182 by Arne Schober in ue5-main branch]
2021-05-10 22:27:44 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
Steve Robb
9309254836 Removal of incorrect or unnecessary ESPMode::Fast usage.
#rb robert.manuszewski
#jira none

[CL 16095118 by Steve Robb in ue5-main branch]
2021-04-22 13:07:08 -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
1d0b1d44eb Initial support for Mesh and Amplification Shaders. These new shader types are an optional feature of the RHIs and are only enabled on PC D3D12 with Feature Level SM6.
#jira none
#rb emil.persson, graham.wihlidal, lukas.hermanns

[CL 15742432 by christopher waters in ue5-main branch]
2021-03-18 18:42:49 -04:00
arciel rekman
fcdebb800f Mark scope as ParallelRendering, needed for FShaderMapResource::CreateShader().
#rb Arne.Schober
[at]Arne.Schober
#jira none

#ROBOMERGE-SOURCE: CL 15389046 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15389054 by arciel rekman in ue5-main branch]
2021-02-11 13:07:55 -04:00
Marc Audy
4c1bb11c29 Merge UE5/Release-Engine-Staging to UE5/Main @ 14548662
This represents UE4/Main @ 14525125 + cherrypicked fixes
#skipundocheck

[CL 14551026 by Marc Audy in ue5-main branch]
2020-10-22 19:19:16 -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