This change is the copy-up of work from //UE5/Dev-ParallelRendering to unify the various RHI texture types
- The separate RHI texture types (FRHITexture2D, FRHITexture2DArray, FRHITexture3D, FRHITextureCube, FRHITextureCubeArray) have been replaced with a single type: FRHITexture.
- Includes the required refactoring / fixes for the various platform RHIs.
The old texture types are still supported via typedefs, but will soon be marked deprecated. Future rendering code should make use of the FRHITexture type instead.
#jira UE-139559
#rb Mihnea.Balta
#preflight 622f3af819287beb2c3047f6
#robomerge[FN_ENGINEMERGE] DEV-NC
[CL 19371962 by Luke Thatcher in ue5-main branch]
For Forward ES31
Default SceneColor RG11B10 + R16F\32F Depth texture
With PropagateAlpha on RGBA16F + R16F\32F
PostProcess we sample SceneDepthAux for Depth
For Deferred ES31
SceneDepthAux only for Metal
PropagateAlpha not working yet
PostProcess we sample SceneDepthTexture for Depth
cvar to change Depth texture from 16 to 32Fr.Mobile.SceneDepthAux
cvar for AlphaPropagate r.Mobile.PropagateAlpha
#jira UE-98033
#rb Dmitriy.Dyomin, Carl.Lloyd, Jack.Porter
#ROBOMERGE-SOURCE: CL 16644095 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v833-16641396)
[CL 16644108 by florin pascu in ue5-release-engine-test branch]
#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]
#jira UE-80050 Remove HTML5 code from engine
#rb none
#rnx
#ROBOMERGE-SOURCE: CL 10272777 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v591-10236483)
[CL 10272778 by nick shin in Main branch]
The default constructor for FResolveRect sets the origin to (-1, -1), so we must explicitly set X and Y to 0 when the rectangle is empty (which means copy the whole texture).
#jira UE-82591
#rb none
#ROBOMERGE-SOURCE: CL 10002222 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v560-9963197)
[CL 10002280 by mihnea balta in Main branch]
#rnx
#rb chris.babcock
#ROBOMERGE-SOURCE: CL 9692171 via CL 9692193 via CL 9692202 via CL 9692213
#ROBOMERGE-BOT: (v538-9681622)
[CL 9692218 by allan bentham 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]