Commit Graph

80 Commits

Author SHA1 Message Date
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
Marc Audy
68150e0be7 Merge UE5/Release-Engine-Staging to UE5/Main @ 14611496
This represents UE4/Main @ 14594913

[CL 14612291 by Marc Audy in ue5-main branch]
2020-10-29 13:38:15 -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
florin pascu
9110a0dc5f - Revert ssbo back to texturebuffer in hlslcc. We now also support vec4 & vec1 of type float & unsigned & signed
- Filtered out a Niagara Ray tracing compute(was causing cooking problems cause of float3x4)
- Fixed GPU Scene
#jira UE-92314
#rb Jack.Porter, Dmitriy.Dyomin, Rolando.Caloca, Mihnea.Balta

#ROBOMERGE-OWNER: florin.pascu
#ROBOMERGE-AUTHOR: florin.pascu
#ROBOMERGE-SOURCE: CL 12984452 in //UE4/Release-4.25/... via CL 12984457 via CL 12984596
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12984603 by florin pascu in Main branch]
2020-04-22 17:24:48 -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
wei liu
036bc781c6 Fix a bug that we don't recompile global shader after turn on/off MobileHDR
#jira UE-89822

#rb jack.porter, dmitriy.dyomin, mi.wang


#ROBOMERGE-SOURCE: CL 11850481 in //UE4/Release-4.25/... via CL 11850482
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 11850703 by wei liu in Main branch]
2020-03-02 21:52:14 -05:00
dmitriy dyomin
334f9f6643 Fixed: Assertion fail when launching TM-Shadermodels onto an Android Device with enabled eUB
And enabled eUB by default for OpenGL ES3.1
#jira UE-88359
#rb none

#ROBOMERGE-SOURCE: CL 11574277 in //UE4/Release-4.25/... via CL 11574280
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v654-11333218)

[CL 11585194 by dmitriy dyomin in Main branch]
2020-02-22 17:01:54 -05: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
Rolando Caloca
bbb9564388 Copying //UE4/Dev-RenderPlat-Staging@11110326 to //UE4/Main
#rb none
#rnx

[CL 11110369 by Rolando Caloca in Main branch]
2020-01-24 18:07:01 -05:00
allan bentham
8f9f37f83b Bump GL shader format.
Speculative fix for FORT-252973
#rnx
#rb none
[FYI] Dmitriy.Dyomin


#ROBOMERGE-SOURCE: CL 11105865 via CL 11105871 via CL 11105884
#ROBOMERGE-BOT: (v640-11091645)

[CL 11105888 by allan bentham in Main branch]
2020-01-24 11:28:15 -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
thomas ross
0938640fdb Incrementing Shader Version Num after previous backout to avoid DDC errors.
#tests none
[FYI] Florin.Pascu
#rb Chris.Babcock


#ROBOMERGE-SOURCE: CL 10363672 via CL 10366003 via CL 10366018
#ROBOMERGE-BOT: (v594-10333955)

[CL 10366032 by thomas ross in Main branch]
2019-11-21 21:32:45 -05:00
thomas ross
9810e34230 Backing out CL 9955175 as it broke OpenGL texture rendering on Android
#rb Chris.Babcock
[CODEREVIEW] [at]Florin.Pascu,[at]Dmitriy.Dyomin, [at]Jack.Porter
#tests Android Client in openGL and Vulkan on S10+
#preflight https://ec-01.epicgames.net/commander/link/jobDetails/jobs/9754303?


#ROBOMERGE-OWNER: thomas.ross
#ROBOMERGE-AUTHOR: thomas.ross
#ROBOMERGE-SOURCE: CL 10332513 via CL 10333274 via CL 10333320
#ROBOMERGE-BOT: (v594-10333955)

[CL 10339731 by thomas ross in Main branch]
2019-11-21 13:10:43 -05:00
Florin Pascu
3181f62fe0 Niagara GPUSim Ios/Android
glGenVertexArrays, glBindVertexArray, glMapBufferRange, glCopyBufferSubData, glDrawArraysIndirect, glDrawElementsIndirect added
One VAO bound per context now(different from Default VAO - indirect ES requirement)

#jira UE-80051
#rb Dmitriy.Dyomin, Jack.Porter


#ROBOMERGE-OWNER: Florin.Pascu
#ROBOMERGE-AUTHOR: florin.pascu
#ROBOMERGE-SOURCE: CL 9955175 via CL 9955182
#ROBOMERGE-BOT: (v558-9892490)

[CL 9955764 by Florin Pascu in Main branch]
2019-11-01 10:02:01 -04:00
Florin Pascu
d6981a7801 Texture buffer-> 2D Texture for GPU Scene Mobile device
This was done because of MALI GPU limitation of 64kb texture buffer

- Changed default Precision of compute shaders to highp
- Added Texture Buffer GPU Support mobile
- Texture path controlled by GPUSceneUseTexture2D(requires recompile of shaders)

#rb Dmitriy.Dyomin, zach.bethel
#jira UE-79954


#ROBOMERGE-OWNER: Florin.Pascu
#ROBOMERGE-AUTHOR: florin.pascu
#ROBOMERGE-SOURCE: CL 9742164 via CL 9742165
#ROBOMERGE-BOT: (v542-9736015)

[CL 9745770 by Florin Pascu in Main branch]
2019-10-22 11:07:33 -04:00
Marcus Wassmer
6517c68ef5 Copying //UE4/Dev-RenderPlat-Staging@8684824 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 8684840 by Marcus Wassmer in Main branch]
2019-09-14 09:45:25 -04:00
lukas hermanns
c0319c48c7 Fixed cross-compilation of patch constant data for GLSL backend on AMD GPUs.
#rb Rolando.Caloca
#jira UE-77873
#lockdown Nick.Penwarden

#ROBOMERGE-SOURCE: CL 8233883 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v401-8057353)

[CL 8233887 by lukas hermanns in Main branch]
2019-08-23 16:12:53 -04:00
dmitriy dyomin
a057ce7394 Support auto-instancing on mobile ES3.1 feature level (Metal, OpenGL ES3.1, Vulkan)
Disabled by default, can be enabled with r.Mobile.SupportGPUScene=1
#jira UE-71355
#rb rolando.caloca, zach.bethel
[FYI] rolando.caloca, zach.bethel


#ROBOMERGE-SOURCE: CL 6617026 via CL 6617089
#ROBOMERGE-BOT: (v358-6608238)

[CL 6617118 by dmitriy dyomin in Main branch]
2019-05-23 00:36:32 -04:00
jack porter
a0eddf9ebb Fix for ES31 shaders attempting to use framebuffer fetch in the vertex shader, causing a crash on Android
#rb Allan.Bentham
[REVIEW] Jack.Porter


#ROBOMERGE-OWNER: jack.porter
#ROBOMERGE-AUTHOR: jack.porter
#ROBOMERGE-SOURCE: CL 5765453 via CL 5765478 via CL 5765483 via CL 5768240 via CL 5770046

[CL 5770047 by jack porter in Main branch]
2019-04-05 19:49:33 -04:00