Commit Graph

373 Commits

Author SHA1 Message Date
Chris Gagnon
930e33cb48 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.23 From CL 6837861
#rb none

[CL 6838042 by Chris Gagnon in Main branch]
2019-06-04 15:42:48 -04:00
Stefan Boberg
8607ecb30d Copying //UE4/Dev-Core to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 6815521 by Stefan Boberg in Main branch]
2019-06-03 15:32:00 -04:00
Arciel Rekman
7ef9626fe8 Copying //UE4/Dev-Console@6677439 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 6677614 by Arciel Rekman in Main branch]
2019-05-30 14:48:02 -04:00
zabir hoque
180eb51dde Copying over fix from Dev-Rendering:
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]
2019-05-24 19:15:38 -04:00
Ben Marsh
0cc6e3dca6 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 6631504 by Ben Marsh in Main branch]
2019-05-24 11:51:54 -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
johan berg
45fe0d7d31 Generating stable shader info is now configurable.
Shader code library was always emitting "<shadermodel>.scl.csv" files while cooking. This output data is only needed for users (or automated jobs) that update the PSO cache. With this change the configuration value "NeedsShaderStableKeys" needs to be set to true for platforms that use PSO (e.g. AndroidEngine.ini and  IOSEngine.ini).

This saves diskspace and around 90 seconds on a iterative cook on a large project.

#rb Dmitriy.Dyomin


#ROBOMERGE-SOURCE: CL 6604300 via CL 6604799
#ROBOMERGE-BOT: (v351-6581450)

[CL 6604833 by johan berg in Main branch]
2019-05-22 10:28:16 -04:00
kevin ortegren
9bff6c3dec Adding dynamic update of the GPU custom primtive data through new methods on StaticMeshComponent.
Adding a mode for scalar and vector material parameters to choose to fetch data from the Custom Primitive Data.
Disabled scalar/vector material parameters from showing up as overrrides in Material Instance.

[FYI] krzysztof.narkowicz, chris.bunner
#rb none
#rnx


#ROBOMERGE-VERSION: 348-6547088
#ROBOMERGE-SOURCE: CL 6573855 via CL 6573897

[CL 6573899 by kevin ortegren in Main branch]
2019-05-20 08:00:49 -04:00
michael trepka
e329bd08a5 Richard's change to skip PSO cache entries with invalid render target or samples count
#ROBOMERGE-SOURCE: CL 6490987 via CL 6491017 via CL 6491030 via CL 6491043 via CL 6500704

[CL 6500968 by michael trepka in Main branch]
2019-05-15 14:43:00 -04:00
michael trepka
d0529f3c65 Modified error handling code in ShaderCodeLibrary to display a message box telling players the game files are missing instead of crashing with fatal UE_LOG message.
#rb Chris.Bunner


#ROBOMERGE-SOURCE: CL 6446280 via CL 6446292 via CL 6447699

[CL 6447733 by michael trepka in Main branch]
2019-05-14 11:36:00 -04:00
ben woodhouse
644e6136c2 Add cvar to set IO priority for shader code library reads: r.ShaderCodeLibrary.DefaultAsyncIOPriority. Sometimes they are thrashing during uobject reads and causing seeks.
Setting is unchanged for now
[FYI] gil.gribb


#ROBOMERGE-SOURCE: CL 6417507 via CL 6418864 via CL 6418876 via CL 6418960

[CL 6418983 by ben woodhouse in Main branch]
2019-05-11 05:52:15 -04:00
JeanFrancois Dube
a70c5328e4 Implement better hashing for MeshDrawCommandKeyFuncs to reduce hash collisions.
Fix map loading time regression in 4.22 (>30s to <1s in some cases).

#jira UE-74131
#rb richard.malo, daniel.wright, krzysztof.narkowicz
#rnx

[CL 6409678 by JeanFrancois Dube in Main branch]
2019-05-10 09:48:55 -04:00
juan canada
1f88a4b54c Cherry-pick 5934928 and cpp changes from 5646022: Implemented separate compilation and run-time caching of ray tracing shaders and linking into final pipeline state objects.
Significantly improves RTPSO creation performance when  loading new shaders into an existing large scene.

#jira UE-72847

#rb yuriy.odonnell
[FYI] yuriy.odonnell

#ROBOMERGE-SOURCE: CL 6265044 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 6317332 by juan canada in Main branch]
2019-05-06 11:32:33 -04:00
dmitriy dyomin
8ef7f4a216 Added an option to disable 'Pixel Depth Offset' on mobile platforms (r.Mobile.AllowPixelDepthOffset enabled by default)
[CODEREVIEW] jack.porter

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: dmitriy.dyomin
#ROBOMERGE-SOURCE: CL 6251760 via CL 6251761 via CL 6251792 via CL 6252283 via CL 6252288
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 6269955 by dmitriy dyomin in Dev-Core branch]
2019-05-03 05:17:37 -04:00
peter sauerbrei
bb6110194f potential fix for PSO problems
#rb gil.gribb

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: peter.sauerbrei
#ROBOMERGE-SOURCE: CL 6195143 via CL 6195202 via CL 6196410 via CL 6196455
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 6269506 by peter sauerbrei in Dev-Core branch]
2019-05-03 04:51:09 -04:00
dmitriy dyomin
85b9149c22 Added an option to disable 'Pixel Depth Offset' on mobile platforms (r.Mobile.AllowPixelDepthOffset enabled by default)
[CODEREVIEW] jack.porter


#ROBOMERGE-SOURCE: CL 6251760 via CL 6251761 via CL 6251792 via CL 6252283

[CL 6252288 by dmitriy dyomin in Main branch]
2019-05-02 09:29:04 -04:00
peter sauerbrei
8a68393339 potential fix for PSO problems
#rb gil.gribb


#ROBOMERGE-SOURCE: CL 6195143 via CL 6195202 via CL 6196410

[CL 6196455 by peter sauerbrei in Main branch]
2019-05-01 17:01:12 -04:00
guillaume abadie
83ba75a2ab Cherry-pick 5814346: Fixes 2 resource transitions bugs on FRDGBuffers
1: Two passes writing to same UAV was not getting the RWBarrier transition.
2: Incorrectly transitioned to readable when accessing for indirect draw call or SRV.

#rb none
#jira none
[FYI] zach.bethel
#lockdown nick.penwarden

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 6147601 in //UE4/Release-4.22/... via CL 6147606
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 6154135 by guillaume abadie in Dev-Core branch]
2019-04-29 21:01:37 -04:00
guillaume abadie
e1c486cec4 Cherry-pick 5814346: Fixes 2 resource transitions bugs on FRDGBuffers
1: Two passes writing to same UAV was not getting the RWBarrier transition.
2: Incorrectly transitioned to readable when accessing for indirect draw call or SRV.

#rb none
#jira none
[FYI] zach.bethel
#lockdown nick.penwarden

#ROBOMERGE-SOURCE: CL 6147601 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 6147606 by guillaume abadie in Main branch]
2019-04-29 18:23:20 -04:00
mickael gilabert
e537e50f2c Added Distance field shadow / AO support on Switch
Don't compile distance field shader permutations if bUseDistanceFields is unset or false
Added UAV output to pixel shader
Clear Tiny UAV uses command buffer ClearBuffer command instead of allocating a temp buffer and copying it to UAV

anthony.bills
#rnx


#ROBOMERGE-SOURCE: CL 6077502 via CL 6077551 via CL 6080478

[CL 6080627 by mickael gilabert in Main branch]
2019-04-24 14:01:31 -04:00
arciel rekman
666cb97676 Shader Library: use proper shader format names (UE-72416).
- Vulkan (and GL) can have variant names like _NOUB.

#rb Dmitriy.Dyomin
#jira UE-72416
[FYI] Marcin.Undak, Brandon.Schaefer
#lockdown Cristina.Riveron

#ROBOMERGE-SOURCE: CL 6011769 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 6011770 by arciel rekman in Main branch]
2019-04-19 09:03:39 -04:00
dmitriy dyomin
03d7c24400 Added support for vulkan sub-passes. Used only by mobile renderer for fetching scene depth during translucency
This invalidates all collected PSO
[FYI] rolando.caloca


#ROBOMERGE-SOURCE: CL 6009976 via CL 6009978 via CL 6010093

[CL 6010125 by dmitriy dyomin in Main branch]
2019-04-19 04:07:27 -04:00
mark satterthwaite
1eebce443b Initial work to support creating additive 'patch' shader libraries from the metadata of two different cooked builds.
#rb none


#ROBOMERGE-SOURCE: CL 5929239 via CL 5933291

[CL 5933354 by mark satterthwaite in Main branch]
2019-04-16 19:30:02 -04:00
richard wallis
cd9c18700f Remove the error log (logging still reports internally) and report result back to higher level for it to decide if this is an error - we can not know at the engine level. Soften the language of some of the other internal fail messages to steer the thinking away from errors and more informational.
#rb michael.trepka


#ROBOMERGE-SOURCE: CL 5916504 via CL 5916508 via CL 5917359

[CL 5917425 by richard wallis in Main branch]
2019-04-16 11:54:47 -04:00
jeff newquist
1269af6044 Add RenderThread CSV exclusive stats
#rb ben.woodhouse


#ROBOMERGE-SOURCE: CL 5830660 via CL 5830670 via CL 5835167

[CL 5835925 by jeff newquist in Main branch]
2019-04-12 10:05:47 -04:00