Fixed the fact that it was not taken into account in the shader (CL was 5172901, was robomerged to stagin to maybe a wrong integration).
#jira none
#rb Juan.Canada
#ROBOMERGE-SOURCE: CL 5370691 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5370692 by sebastien hillaire in Main branch]
#jira UE-71319
#rb Ben.Zeigler
#ROBOMERGE-SOURCE: CL 5370448 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5370459 by marc audy in Main branch]
#rb marc.audy
#jira UE-71268
#ROBOMERGE-SOURCE: CL 5362989 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5368498 by matt kuhlenschmidt in Main branch]
* Moved depth prepass settings into FScene, as those settings are used by cached mesh draw commands (MDCs) and MDCs are cached per FScene
* FScene updates depth prepass settings every frame and recaches MDCs if default base pass depth stencil acccess changes
Before the change cached MDCs always were using DepthRead_StencilWrite, even if full depth prepass was disabled and DepthWrite_StencilWrite was required. This forced ApplyViewOverridesToMeshDrawCommands rendering path, which is a slow and can't correctly set depth stencil state due to lack of mesh data at that point.
#jira UE-71258, UE-71096
#rb Daniel.Wright
#ROBOMERGE-SOURCE: CL 5362794 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5368495 by krzysztof narkowicz in Main branch]
#rb none
[FYI] patrick.kelly
#jira
#ROBOMERGE-SOURCE: CL 5362288 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5368492 by juan canada in Main branch]
#jira UE-70407
#rb none
#ROBOMERGE-SOURCE: CL 5360739 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5368480 by david hibbitts in Main branch]
#jira UE-68663
#rb Benn.Gallagher
#ROBOMERGE-SOURCE: CL 5354760 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5367787 by martin wilson in Main branch]
#jira UE-68388
#rb Nicholas.Frechette
#ROBOMERGE-OWNER: Martin.Wilson
#ROBOMERGE-AUTHOR: martin.wilson
#ROBOMERGE-SOURCE: CL 5354033 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5367782 by Martin Wilson in Main branch]
#jira none
#rb none
#ROBOMERGE-SOURCE: CL 5353190 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5364959 by martin wilson in Main branch]
#jira UE-64208
#rb none
#ROBOMERGE-SOURCE: CL 5353101 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5364947 by martin wilson in Main branch]
#jira UE-67216
#rb Lina.Halper
#ROBOMERGE-SOURCE: CL 5352004 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5364877 by martin wilson in Main branch]
#jira UE-71101
#rb simon.therriault
#ROBOMERGE-SOURCE: CL 5350904 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5364837 by patrick boutot in Main branch]
[FYI] juan.canada
#rb none
#jira UE-71142
#ROBOMERGE-SOURCE: CL 5348914 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5364779 by jonas meyer in Main branch]
Added MarkRenderStateDirty so its updated
#jira UE-71028
#rb michael.dupuis
#ROBOMERGE-SOURCE: CL 5348907 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5364775 by jonas meyer in Main branch]
#jira UE-69069
#rb Lina.Halper
#ROBOMERGE-SOURCE: CL 5348780 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5364768 by martin wilson in Main branch]
#jira UE-68811
#rb uriel.doyon
#ROBOMERGE-SOURCE: CL 5348489 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5364762 by michael galetzka in Main branch]
#jira UE-70565
[FYI] Krzysztof.Narkowicz, Arne.Schober
#rb mark.satterthwaite
#ROBOMERGE-SOURCE: CL 5348256 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5364756 by richard wallis in Main branch]