Commit Graph

646 Commits

Author SHA1 Message Date
zach bethel
8be56c56e2 Fixed RDG leaking uniform buffers.
#rb none

#ROBOMERGE-SOURCE: CL 12488855 via CL 12488867 via CL 12488870
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v673-12478461)

[CL 12488877 by zach bethel in Main branch]
2020-03-30 14:27:58 -04:00
zach bethel
24a7354031 Removed additional allocations from FRDGBuilder. Compile out debug labels for test / shipping in render target pool. Don't set global uniform buffers when none exist.
#rb none


#ROBOMERGE-SOURCE: CL 12435615 via CL 12435617
#ROBOMERGE-BOT: (v671-12333473)

[CL 12441349 by zach bethel in Release-Engine-Staging branch]
2020-03-26 07:21:08 -04:00
josh adams
2db0e04d3c - More compile fixes
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 12434868
#ROBOMERGE-BOT: (v671-12333473)

[CL 12441344 by josh adams in Release-Engine-Staging branch]
2020-03-26 07:21:03 -04:00
uriel doyon
7b4f125c8b Added shadercomplexity support in cooked content.
This requires "r.ShaderComplexity.CacheShaders=true"
Disabled velocity rendering when rendering debug view shaders.
[FYI] ben.ingram
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 12436154 in //UE4/Release-4.25/... via CL 12436155
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Release-Engine-Staging) (v671-12333473)

[CL 12436160 by uriel doyon in Release-Engine-Staging branch]
2020-03-25 19:24:57 -04:00
Uriel Doyon
19aaab2b28 Added shadercomplexity support in cooked content.
This requires "r.ShaderComplexity.CacheShaders=true"
Disabled velocity rendering when rendering debug view shaders.
#fyi ben.ingram
#rb none
#jira none

[CL 12436154 by Uriel Doyon in 4.25 branch]
2020-03-25 19:23:55 -04:00
zach bethel
f6625c4d65 Reduce allocations in render graph builder.
#rb none


#ROBOMERGE-SOURCE: CL 12417684 via CL 12422612
#ROBOMERGE-BOT: (v671-12333473)

[CL 12422724 by zach bethel in Release-Engine-Staging branch]
2020-03-25 13:21:18 -04:00
chris adams
c114c64f4c Fixing corrupted video output on Android Vulkan devices when integrated in 3D environments
#rb jens.petersam , thomas.engel


#ROBOMERGE-SOURCE: CL 12397791 via CL 12397794 via CL 12397795 via CL 12400044
#ROBOMERGE-BOT: (v671-12333473)

[CL 12402127 by chris adams in Release-Engine-Staging branch]
2020-03-25 08:14:30 -04:00
Jules Blok
d7efe1e9f1 Consolidate single-pass stereo options under a Multi-View option
Fixes invalid combinations of single-pass techniques resulting in shader compiling errors

#jira UE-89646
#rb Steve.Smith

#ROBOMERGE-OWNER: Jules.Blok
#ROBOMERGE-AUTHOR: jules.blok
#ROBOMERGE-SOURCE: CL 12384522 in //UE4/Release-4.25/... via CL 12384524
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v671-12333473)

[CL 12385996 by Jules Blok in Main branch]
2020-03-23 23:06:35 -04:00
Jules Blok
366597074e Consolidate single-pass stereo options under a Multi-View option
Fixes invalid combinations of single-pass techniques resulting in shader compiling errors

#jira UE-89646
#rb Steve.Smith

[CL 12384522 by Jules Blok in 4.25 branch]
2020-03-23 19:26:46 -04:00
arciel rekman
55c833b9fd Fix cooking builds with SCL and -nullrhi (UE-91021).
#rb none
#jira UE-91021

#ROBOMERGE-SOURCE: CL 12358137 in //UE4/Release-4.25/... via CL 12358144
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v671-12333473)

[CL 12358154 by arciel rekman in Main branch]
2020-03-20 21:58:24 -04:00
Arciel Rekman
b195ac80ec Fix cooking builds with SCL and -nullrhi (UE-91021).
#rb none
#jira UE-91021

[CL 12358137 by Arciel Rekman in 4.25 branch]
2020-03-20 21:57:04 -04:00
dmitriy dyomin
5292331cfe Changed shader library logging for plugins from Display to Verbose
#jira none
#rb none

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

[CL 12332486 by dmitriy dyomin in Main branch]
2020-03-20 06:17:35 -04:00
Dmitriy Dyomin
9ab534ac2e Changed shader library logging for plugins from Display to Verbose
#jira none
#rb none

[CL 12332483 by Dmitriy Dyomin in 4.25 branch]
2020-03-20 06:16:43 -04:00
arciel rekman
ad17c24f15 Fixing (blindly) merge of SCL sorting from a 4.24 codebase.
- Functions did not get carried over.

#rb none


#ROBOMERGE-SOURCE: CL 12253797
#ROBOMERGE-BOT: (v668-12245121)

[CL 12253799 by arciel rekman in Main branch]
2020-03-18 17:45:06 -04:00
Arciel Rekman
e970ef5ea2 ShaderLibrary sorted by file open order, with other fixes (FORT-265600).
- Each shadermap is now associated with one or more assets, and shaders are laid out according to the
  open order of those assets, if provided. If not provided, the original ordering is kept. The original ordering
  will not be always deterministic, particularly if shader compilation needs to happen, because jobs can get
  reordered during the compilation.

Other fixes:

- Fixed sorting within the shadermap not being deterministic (FCompareShaderPrimaryKey)
- Fixed Niagara shadermap duplicating Platform property and not initializing it properly.
- Removed (unused) support for Child shader libraries (would not be deterministic).

#rb Ben.Ingram, Rob.Krajcarski


#ROBOMERGE-OWNER: Arciel.Rekman
#ROBOMERGE-AUTHOR: arciel.rekman
#ROBOMERGE-SOURCE: CL 12249260 via CL 12249262 via CL 12250173
#ROBOMERGE-BOT: (v668-12245121)

[CL 12250313 by Arciel Rekman in Main branch]
2020-03-18 15:35:20 -04:00
devin doucette
0174be282a Added and used StringFwd.h for string builder and string view declarations
Including StringFwd.h in place of forward declarations offers more flexibility to change how these types are declared.

#jira none
#rb Steve.Robb
[RN] minor Core

#ROBOMERGE-SOURCE: CL 12235779 in //UE4/Release-4.25/... via CL 12235792
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v664-12234175)

[CL 12237495 by devin doucette in Main branch]
2020-03-17 20:03:03 -04:00
devin doucette
1b7f9548e3 Added and used StringFwd.h for string builder and string view declarations
Including StringFwd.h in place of forward declarations offers more flexibility to change how these types are declared.

#jira none
#rb Steve.Robb
#rn minor Core
#robomerge[FORTNITE] Release-12.30

[CL 12235779 by devin doucette in 4.25 branch]
2020-03-17 16:38:03 -04:00
john hable
0eaa4fa2e4 Forcing pre-exposure to always be enabled in the shaders.
#jira ue-90726
#rb uriel.doyon

#ROBOMERGE-SOURCE: CL 12232768 in //UE4/Release-4.25/... via CL 12232770
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v664-12234175)

[CL 12234779 by john hable in Main branch]
2020-03-17 15:11:24 -04:00
john hable
d701033f4f Forcing pre-exposure to always be enabled in the shaders.
#jira ue-90726
#rb uriel.doyon

[CL 12232768 by john hable in 4.25 branch]
2020-03-17 11:45:28 -04:00
Dmitriy Dyomin
2d61247883 Fixed: //UE4/Main - Run Incremental EngineTest Sequencer Win64Editor - MemStack.h Error: Assertion failed: (GIsCriticalError || !NumMarks)
#jira UE-90464
#rb none

[CL 12230138 by Dmitriy Dyomin in Main branch]
2020-03-16 23:59:33 -04:00
michael trepka
805cee2ab2 Fixed uninitialized varaible in FShaderPipelineCache that was causing stable cache load failures on some computers
[FYI] Arciel.Rekman, Chris.Bunner


#ROBOMERGE-SOURCE: CL 12204530 via CL 12210996 via CL 12211047
#ROBOMERGE-BOT: (v662-12191386)

[CL 12211135 by michael trepka in Main branch]
2020-03-16 13:29:59 -04:00
juan canada
7c7ce0d2a1 Added options to turn off compilation of ray tracing material closest or any-hit shaders. This may be useful for titles that use custom shaders or don't require full material evaluation (i.e. only using ray tracing for shadows or AO).
New CVars:
- r.RayTracing.CompileMaterialCHS (default 1)
- r.RayTracing.CompileMaterialAHS (default 1)

The value is read-only and must match between cook-time and run-time.

#rb Krzysztof.Narkowicz
[FYI] Yuriy.ODonnell
#jira UE-90463

#ushell-cherrypick of 11541300 by Yuriy.ODonnell

#ROBOMERGE-SOURCE: CL 12202891 in //UE4/Release-4.25/... via CL 12202949
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v662-12191386)

[CL 12203392 by juan canada in Main branch]
2020-03-16 11:37:25 -04:00
Juan Canada
f8887410fc Added options to turn off compilation of ray tracing material closest or any-hit shaders. This may be useful for titles that use custom shaders or don't require full material evaluation (i.e. only using ray tracing for shadows or AO).
New CVars:
- r.RayTracing.CompileMaterialCHS (default 1)
- r.RayTracing.CompileMaterialAHS (default 1)

The value is read-only and must match between cook-time and run-time.

#rb Krzysztof.Narkowicz
#fyi Yuriy.ODonnell
#jira UE-90463

#ushell-cherrypick of 11541300 by Yuriy.ODonnell

[CL 12202891 by Juan Canada in 4.25 branch]
2020-03-16 11:31:08 -04:00
michael sartain
cba2fafd66 Ensure start time for events is greater than last end time for all nodes
#jira UE-89825
#ryi Yujiang.Wang, Arciel.Rekman
#rb none

#ROBOMERGE-SOURCE: CL 12167281 in //UE4/Release-4.25/... via CL 12167285
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v661-12148976)

[CL 12167294 by michael sartain in Main branch]
2020-03-13 16:37:04 -04:00
Michael Sartain
ddfd2a6d5b Ensure start time for events is greater than last end time for all nodes
#jira UE-89825
#ryi Yujiang.Wang, Arciel.Rekman
#rb none

[CL 12167281 by Michael Sartain in 4.25 branch]
2020-03-13 16:36:12 -04:00