109 Commits

Author SHA1 Message Date
brian zaugg
3649f65762 Fixed some static analysis warnings.
[REVIEW] [at]Aaron.Eady, [at]Mic.Rooney, [at]Vivien.Wei, [at]Josh.Andersen


#ROBOMERGE-OWNER: brian.zaugg
#ROBOMERGE-AUTHOR: brian.zaugg
#ROBOMERGE-SOURCE: CL 19710337 via CL 19711095 via CL 19711239 via CL 19711254
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19712323 by brian zaugg in ue5-main branch]
2022-04-11 17:43:41 -04:00
Jack Porter
f9b83f0ebf Fix static analysis warning
#rb None
#jira UE-144634
#preflight 623297c2262232d86f84022e

[CL 19416678 by Jack Porter in ue5-main branch]
2022-03-16 22:11:28 -04:00
jack porter
4f9b4635d3 Fix hlslcc depth fetch support on Android devices not supporting GL_ARM_shader_framebuffer_fetch_depth_stencil
Reapply change that did not correctly make it into 19.01.
#rb Chris.Babcock
[FYI] Chris.Babcock

#ROBOMERGE-AUTHOR: jack.porter
#ROBOMERGE-SOURCE: CL 18465602 via CL 18465606 via CL 18465616 via CL 18465618 via CL 18465694 via CL 18465699
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18465700 by jack porter in ue5-release-engine-test branch]
2021-12-15 04:14:37 -05:00
chris babcock
51ea83d2ec Fix hlslcc depth fetch support on Android devices not supporting GL_ARM_shader_framebuffer_fetch_depth_stencil #jira FORT-436149
[REVIEW] [at]Jack.Porter
#rb Allan.Bentham

#ROBOMERGE-OWNER: chris.babcock
#ROBOMERGE-AUTHOR: chris.babcock
#ROBOMERGE-SOURCE: CL 18401734 via CL 18401750 via CL 18401764 via CL 18401786 via CL 18401802 via CL 18434826 via CL 18437068
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18437174 by chris babcock in ue5-release-engine-test branch]
2021-12-10 20:21:27 -05:00
dmitriy dyomin
22226ea004 Update hlslcc GL backend to match GetFirstPixelUAVUnit
[FYI] carl.lloyd
#rb none

#ROBOMERGE-AUTHOR: dmitriy.dyomin
#ROBOMERGE-SOURCE: CL 17722313 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17722322 by dmitriy dyomin in ue5-release-engine-test branch]
2021-10-05 11:39:22 -04:00
lukas hermanns
c5400b94fe Replace EHlslShaderFrequency with EShaderFrequency in ShaderConductor interface.
Also remove further references to Hull and Domain shaders as tessellation is no longer supported in UE5.

#rb Will.Damon, Brian.White, Christopher.Waters, Jeannoe.Morissette
[FYI] Carl.Lloyd, Florin.Pascu, Ryan.Vance, Rolando.Caloca, Mihnea.Balta
#jira none
#rnx

#ROBOMERGE-SOURCE: CL 17408818 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17408845 by lukas hermanns in ue5-release-engine-test branch]
2021-09-02 16:41:03 -04:00
florin pascu
5c1e32c73c RG11B10 + SceneDepthAux 16/32F + Alpha Propagate
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]
2021-06-11 13:47:20 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
Marc Audy
8f73cd7fa9 Merge UE5/Release-Engine-Staging @ 15630841 to UE5/Main
This represents UE4/Main @ 15601601

[CL 15631170 by Marc Audy in ue5-main branch]
2021-03-05 19:27:14 -04:00
dmitriy dyomin
009ed560ce Use GL_ARM_shader_framebuffer_fetch_depth_stencil by default for depth fetch on Android
This works better than full FBF and supported on most Adnroid devices. Fallback to FBF when extension is not supported
(merged from  Release-Engine-Staging)
#jira UE-106962

#ROBOMERGE-SOURCE: CL 15624985 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v777-15581079)

[CL 15625000 by dmitriy dyomin in ue5-main branch]
2021-03-05 11:48:50 -04:00
Dmitriy Dyomin
edd0257c55 Remove Texture2D as a storage for GPUScene primitives, OpenGL will use StructuredBuffers supported through SSBOs
#rb jack.porter
#fyi ola.olsson

[CL 15415286 by Dmitriy Dyomin in ue5-main branch]
2021-02-16 00:46:28 -04:00
carl lloyd
df0606a49b Added support for Framebuffer Fetch and Pixel Local Storage to OpenGL platform.
#rb Jack.Porter, Dmitriy.Dyomin

[CL 15179038 by carl lloyd in ue5-main branch]
2021-01-25 12:39:04 -04:00
Tim Smith
4c3942091b Fixing PVS 7.7 Issues:
warning V547: Expression 'XYZ' is always true/false.

#rb trivial
#jira UE-91644

[CL 15054368 by Tim Smith in ue5-main branch]
2021-01-12 16:15:34 -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
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
rolando caloca
b2c6ce93b2 F - Copy of 12659574 for GLSL
Fix Vulkan codegen for RWStructuredBuffer<float4> not generating scalar access
#rb Lukas.Hermanns, Dmitriy.Dyomin
#rnx
#jira

#ROBOMERGE-SOURCE: CL 12676173 via CL 12676222 via CL 12676231
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12676246 by rolando caloca in Main branch]
2020-04-08 14:38:38 -04:00
dmitriy dyomin
8a245ccce5 Disabled gl_LastFragColorARM re-declaration as it does not work on S7 Mali
#jira UE-90180
#rb none
[FYI] allan.bentham

#ROBOMERGE-SOURCE: CL 12332257 in //UE4/Release-4.25/... via CL 12332258
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v670-12295787)

[CL 12332259 by dmitriy dyomin in Main branch]
2020-03-20 02:52:52 -04:00
allan bentham
bfb449ada1 Force GLSL intrinsic return types to (full) float when HLSLCC_UseFullPrecisionInPS is requested.
#rb jack.porter
[FYI] Dmitriy.Dyomin
#rnx
[FYI] carl.lloyd


#ROBOMERGE-OWNER: allan.bentham
#ROBOMERGE-AUTHOR: allan.bentham
#ROBOMERGE-SOURCE: CL 12162757 via CL 12162758 via CL 12163188
#ROBOMERGE-BOT: (v661-12148976)

[CL 12163190 by allan bentham in Main branch]
2020-03-13 11:36:26 -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
marc audy
782875ebed Prevent OGL early fragment tests being enabled when discard instruction is used.
Fixes black outlines around masked materials.
#rnx
#rb none
[FYI] Dmitriy.Dyomin


#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: allan.bentham
#ROBOMERGE-SOURCE: CL 11116350 via CL 11116352 via CL 11116355
#ROBOMERGE-BOT: (v640-11091645)

[CL 11117627 by marc audy in Main branch]
2020-01-27 14:14:23 -05:00
dmitriy dyomin
32bb8acd0b Support virtual textures on mobile platforms. Requires Vulkan, OpenGL ES3.1 + SRV, iPhone8 and up.
Disabled by default, set r.Mobile.VirtualTextures=1 to enable
known issues: RVT compression is not implementted, Android OpenGL will have R and G channels swapped for uncompressed streaming VT, no sRGB support
#jira UE-79955
#rb jeremy.moore


#ROBOMERGE-SOURCE: CL 11070636 via CL 11070637
#ROBOMERGE-BOT: (v637-11041722)

[CL 11070638 by dmitriy dyomin in Main branch]
2020-01-20 22:16:23 -05:00
allan bentham
947198d80b Fix for overflowing framebuffer fetch on mali GPUs when MSAA is enabled.
#rnx
#rb none
[FYI] Jack.Porter, Dmitriy.Dyomin


#ROBOMERGE-SOURCE: CL 11041687 via CL 11041691 via CL 11041694
#ROBOMERGE-BOT: (v635-11031815)

[CL 11041698 by allan bentham in Main branch]
2020-01-17 06:10:06 -05:00
ryan durand
471d972e62 Updating copyright for Engine Developer.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870584 by ryan durand in Main branch]
2019-12-26 15:32:37 -05:00
florin pascu
a30655f8b4 Re-enable niagara gpucompute on Mobile
Incrementing ShaderGlslVersion to avoid compile errors


#ushell-cherrypick of 10480027 by Florin.Pascu
#rb Dmitriy.Dyomin, Jack.Porte, Allan Bentham


#ROBOMERGE-OWNER: florin.pascu
#ROBOMERGE-AUTHOR: florin.pascu
#ROBOMERGE-SOURCE: CL 10505362 via CL 10505365 via CL 10505439
#ROBOMERGE-BOT: (v606-10482310)

[CL 10505450 by florin pascu in Main branch]
2019-12-04 04:41:27 -05:00