Commit Graph

478 Commits

Author SHA1 Message Date
chris bunner
71500ad073 Fixing up header in shadercode library CSV, previously the first entry would append to the same line and result in "OutputHashempty" as a header field. Standard line break appended to correct.
[REVIEW] Ben.Salem, Richard.Wallis


#ROBOMERGE-SOURCE: CL 9868558 via CL 9868562 via CL 9868563
#ROBOMERGE-BOT: (v548-9842178)

[CL 9868569 by chris bunner in Main branch]
2019-10-28 09:28:29 -04:00
ben ingram
ee92d549cc #jira UESP-1466
Don't merge duplicate streaming VT producers when creating page table
- Keep merging in place for RVT
#rb none

#ROBOMERGE-SOURCE: CL 9758700 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v545-9751379)

[CL 9758704 by ben ingram in Main branch]
2019-10-23 14:06:00 -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
rolando caloca
e521bb5ed4 Delete Library file handle on close (Non native ShaderCodeLibrary implementation only), unfortunatly this also means we have to wait on any outstanding read tasks.
Plus - Fix rare shutdown check() failure when async file reads are still wainting in the FShaderPipelineCache.

Plus - Put back correct order of shutdown for FShaderCodeLibrary and FShaderPipelineCache as they can have outstanding aync file handles and we'll get a crash if they are closed after the module shutdown has deleted the FPakPrecacher singleton.

#jira UE-79315
#rb Dmitriy.Dyomin, Michael.Trepka
[FYI] Michael.Trepka
#fyi Richard.Wallis

#ROBOMERGE-OWNER: rolando.caloca
#ROBOMERGE-AUTHOR: richard.wallis
#ROBOMERGE-SOURCE: CL 9743659 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v542-9736015)

[CL 9744080 by rolando caloca in Main branch]
2019-10-22 08:30:35 -04:00
yuriy odonnell
3e4eb41ade Added support for creating ray tracing shaders through FShaderCodeLibrary
#rb Luke.Thatcher
#jira none

#ROBOMERGE-SOURCE: CL 9730989 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v539-9700858)

[CL 9730990 by yuriy odonnell in Main branch]
2019-10-21 07:50:05 -04:00
mihnea balta
07eb6c1598 Adding two-channel ETC2 compressed format needed for RVT on mobile.
Also added single-channel format while at it.

#rb Dmitriy.Dyomin


#ROBOMERGE-SOURCE: CL 9691350 via CL 9691354
#ROBOMERGE-BOT: (v538-9681622)

[CL 9691813 by mihnea balta in Main branch]
2019-10-18 12:42:56 -04:00
mihnea balta
ac278fecfc Fixed vertically flipped image on Android/OpenGL if a postprocess material was set to render after the tonemapper.
#jira UE-80082
#rb rolando.caloca zach.bethel

#ROBOMERGE-SOURCE: CL 9630360 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v528-9595928)

[CL 9630362 by mihnea balta in Main branch]
2019-10-17 04:24:36 -04:00
mihnea balta
fc843b83a0 Fixed vertically flipped image on Android/OpenGL if a postprocess material was set to render after the tonemapper.
#jira UE-80082
#rb rolando.caloca zach.bethel

[CL 9630360 by mihnea balta in 4.24 branch]
2019-10-17 04:24:15 -04:00
juan canada
5bb1eaaa0f Fixed crash when creating ray tracing geometry if any section has a null vertex buffer.
#rb yuriy.odonnell
#jira none

(ushell-p4-cherrypick of 9568434 by Juan.Canada)

#ROBOMERGE-SOURCE: CL 9623459 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v528-9595928)

[CL 9623461 by juan canada in Main branch]
2019-10-16 16:31:43 -04:00
Juan Canada
a9e610ee48 Fixed crash when creating ray tracing geometry if any section has a null vertex buffer.
#rb yuriy.odonnell
#jira none

(ushell-p4-cherrypick of 9568434 by Juan.Canada)

[CL 9623459 by Juan Canada in 4.24 branch]
2019-10-16 16:31:30 -04:00
juan canada
67a1fa1e95 Implemented support for binding different vertex buffers per ray tracing geometry segment. Removed the skin cache vertex buffer merging step, improving GPU performance. Deprecated RHICopyBufferRegion/s, as it was exclusively required for skin cache VB merge. Unified bottom level acceleration structure build and update APIs.
#rb Juan.Canada
#jira none

(ushell-p4-cherrypick of 9535449 by Yuriy.ODonnell)

#ROBOMERGE-SOURCE: CL 9621661 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v528-9595928)

[CL 9621674 by juan canada in Main branch]
2019-10-16 15:02:58 -04:00
Juan Canada
7d01a5f1d6 Implemented support for binding different vertex buffers per ray tracing geometry segment. Removed the skin cache vertex buffer merging step, improving GPU performance. Deprecated RHICopyBufferRegion/s, as it was exclusively required for skin cache VB merge. Unified bottom level acceleration structure build and update APIs.
#rb Juan.Canada
#jira none

(ushell-p4-cherrypick of 9535449 by Yuriy.ODonnell)

[CL 9621661 by Juan Canada in 4.24 branch]
2019-10-16 15:02:29 -04:00
zach bethel
daee1f3d44 Downgraded missing TexCreate_ShaderResource error to be non-fatal.
#rb Rolando.Caloca

[CL 9583004 by zach bethel in Main branch]
2019-10-15 09:49:09 -04:00
Rolando Caloca
1a30325d6f Copying //UE4/Dev-RenderPlat-Staging@9551419 to //UE4/Main
#rb none
#rnx

[CL 9551447 by Rolando Caloca in Main branch]
2019-10-11 15:33:31 -04:00
yujiang wang
df2d28da4e Fix FLandscapeRenderSystem tasks not being properly waited in FMobileSceneRenderer
Fix race condition when accessing the View pointer and cached view values from parallel task threads

[at]marcus.wassmer


#ROBOMERGE-SOURCE: CL 9484531 via CL 9484532 via CL 9485003 via CL 9485046 via CL 9485087
#ROBOMERGE-BOT: (v508-9471939)

[CL 9485129 by yujiang wang in Main branch]
2019-10-08 23:36:02 -04:00
peter knepley
92a095c8cc Fix shadowed variable
#jira


#ROBOMERGE-SOURCE: CL 9476241 via CL 9476247 via CL 9476278 via CL 9476290 via CL 9476301
#ROBOMERGE-BOT: (v508-9471939)

[CL 9476548 by peter knepley in Main branch]
2019-10-08 13:40:50 -04:00
jeremy moore
a61204dd09 Add project virtual texture support to shader compilation environment
#rb marcus.wassmer


#ROBOMERGE-OWNER: jeremy.moore
#ROBOMERGE-AUTHOR: jeremy.moore
#ROBOMERGE-SOURCE: CL 9475893 via CL 9475897 via CL 9475932 via CL 9475940 via CL 9475949
#ROBOMERGE-BOT: (v508-9471939)

[CL 9476501 by jeremy moore in Main branch]
2019-10-08 13:38:46 -04:00
Ben Marsh
b6039a9873 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 9419420 by Ben Marsh in Dev-Build branch]
2019-10-04 11:20:44 -04:00
Rolando Caloca
d313da3afa Merging //UE4/Main@9413474 to Dev-RenderPlat-Staging
#rb none
#rnx

[CL 9417021 by Rolando Caloca in Dev-RenderPlat-Staging branch]
2019-10-04 09:23:21 -04:00
Stefan Boberg
1f813eb516 Copying //UE4/Dev-Core to Main (//UE4/Main)
#rb many

[CL 9405827 by Stefan Boberg in Main branch]
2019-10-03 16:26:48 -04:00
sebastien hillaire
6b6b2565bf Fast Landscape Continuous LOD
#rb jeremy.moore,marcus.wassmer


#ROBOMERGE-OWNER: sebastien.hillaire
#ROBOMERGE-AUTHOR: yujiang.wang
#ROBOMERGE-SOURCE: CL 9374968 via CL 9374975 via CL 9383926 via CL 9384017 via CL 9384098
#ROBOMERGE-BOT: (v456-9359915)

[CL 9389319 by sebastien hillaire in Main branch]
2019-10-03 08:38:00 -04:00
jeremy moore
7c39859048 Build fix: Add missing forward declare
#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: jeremy.moore
#ROBOMERGE-SOURCE: CL 9291296 via CL 9291297 via CL 9291298 via CL 9291299 via CL 9291300
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v456-9359915)

[CL 9369265 by jeremy moore in Dev-Build branch]
2019-10-02 11:27:44 -04:00
jeremy moore
f8ae0ac7dd Support passing UAV of physical texture to RuntimeVirtualtexture::RenderPages
This will allow compressing direct to physical texture on platforms that support it
Some small RHI changes will have to be approved before turning on though

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: jeremy.moore
#ROBOMERGE-SOURCE: CL 9291051 via CL 9291054 via CL 9291057 via CL 9291060 via CL 9291062
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v456-9359915)

[CL 9369148 by jeremy moore in Dev-Build branch]
2019-10-02 11:26:28 -04:00
ben marsh
b0bc58eb2a Deprecating ARRAY_COUNT and changing it to UE_ARRAY_COUNT.
Replicated from CL# 7924370.

#rb none

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 9279060 via CL 9279063 via CL 9279836
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v456-9359915)

[CL 9366698 by ben marsh in Dev-Build branch]
2019-10-02 10:52:53 -04:00
joe barnes
8070942bf5 Editgrate CL#8757427:
Refactor INTERNAL_SHADER_PARAMETER_STRUCT initialization to avoid recursion, avoiding stack overflow on large structures.  Processes the members in reverse, requesting the next function to call and looping until the first member is hit.  Then the final list is reversed to put in proper order.

#rb Guillaume.Abadie


#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: joe.barnes
#ROBOMERGE-SOURCE: CL 9248434 via CL 9248445 via CL 9248459
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v455-9298202)

[CL 9339752 by joe barnes in Dev-Build branch]
2019-10-02 01:30:05 -04:00