#rnx
#rb none
#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)
[CL 10870549 by ryan durand in Main branch]
Updated the code which detects when it's possible to skip custom depth rendering on mobile to take into account the new "Enable Stencil Test" material flag. Also fixed a couple of issues with the OpenGL RHI:
* the post processing material writes directly to the backbuffer on mobile, but it's not possible to use that with a custom depth/stencil buffer on OpenGL. Added a hack in PostProcessMaterial to render to an intermediate buffer when that's the case and copy to the backbuffer at the end.
* glCopyImageSubData() doesn't like copying from a 2D texture to a renderbuffer on mobile, so made it use glBlitFramebuffer() when the bind targets are different (which happens when copying from a render target to the backbuffer)
#jira UE-80082
#rb dmitriy.dyomin rolando.caloca zach.bethel
[CL 9614432 by mihnea balta in 4.24 branch]
Replicated from CL# 7924370.
#rb none
#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 9279060 via CL 9279063
#ROBOMERGE-BOT: (v443-9013191)
[CL 9279836 by steve robb in Main branch]
When applying PPM and we must prime the RT, check if CopyResource() is unavailable due to format conversion. If so use copy pixel shader.
#RB: Brian.Karis, Guillaume.Abadie
#Jira: 178059
#ROBOMERGE-SOURCE: CL 6638136 via CL 6641497
#ROBOMERGE-BOT: (vundefined-6620334)
[CL 6641687 by zabir hoque in Main branch]
Do not flip Y axis on any pass that can be used as input for post process material.
flip Y axis only on final tonemapper or after tonemapper post process material stage.
#rb Dmitriy.Dyomin
#ROBOMERGE-SOURCE: CL 6426212 via CL 6426213 via CL 6426335
[CL 6426338 by allan bentham in Main branch]
Remove assumption from SceneTextureLookup that mobile only deals with viewsize == buffersize case.
Corrected default UV values for SceneTextureLookup.
Corrected material UVs.
#jira UE-71898
#jira UE-69918
#rb ryan.vance
#lockdown cristina.riveron
#ROBOMERGE-OWNER: allan.bentham
#ROBOMERGE-AUTHOR: allan.bentham
#ROBOMERGE-SOURCE: CL 5536485 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5537203 by allan bentham in Main branch]
#Jira: FORT-157096
[FYI] Chris.Bunner, Marcus.Wassmer
#ROBOMERGE-OWNER: zabir.hoque
#ROBOMERGE-AUTHOR: zabir.hoque
#ROBOMERGE-SOURCE: CL 5391596 via CL 5391601 via CL 5393138 via CL 5394682
[CL 5394838 by zabir hoque in Main branch]
[REVIEW] dmitriy.dyomin
#ROBOMERGE-OWNER: dmitriy.dyomin
#ROBOMERGE-AUTHOR: dmitriy.dyomin
#ROBOMERGE-SOURCE: CL 5383022 via CL 5383026 via CL 5383028 via CL 5383216 via CL 5383727
[CL 5383742 by dmitriy dyomin in Main branch]
Remove assumption from SceneTextureLookup that mobile only deals with viewsize == buffersize case.
#jira UE-69918
#rb Dmitriy.Dyomin
#ROBOMERGE-OWNER: allan.bentham
#ROBOMERGE-AUTHOR: allan.bentham
#ROBOMERGE-SOURCE: CL 5348151 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5348238 by allan bentham in Main branch]
- Write directly to post process input 0 if able.
- Copy post process input 0 to target if unable.
- Allow SM4 to make copy DS if necessay.
- Allow PPM to use blend modes to composite onto output.
#rb: Brian.Karis
#Jira: FORT-150303
#ROBOMERGE-OWNER: zabir.hoque
#ROBOMERGE-AUTHOR: zabir.hoque
#ROBOMERGE-SOURCE: CL 5259065 via CL 5259067 via CL 5259304
[CL 5259305 by zabir hoque in Main branch]