Commit Graph

561 Commits

Author SHA1 Message Date
Sebastien Hillaire
ad7877041a Auto MSM/Domain set from graph for volumetric and unlit.
Added strata shading model as material info to infor domain/blend/MSM.
This work with material function and material layer.
Added unlit node and shader support for it.

#rb Charles.deRousiers.

[CL 14826806 by Sebastien Hillaire in ue5-main branch]
2020-12-01 03:43:19 -04:00
zach bethel
8b370a9a97 Fix for non-unity builds.
#rb none

[CL 14821718 by zach bethel in ue5-main branch]
2020-11-30 13:41:01 -04:00
zach bethel
e8495060db Fixed deprecation warnings.
#rb none

[CL 14821612 by zach bethel in ue5-main branch]
2020-11-30 13:28:09 -04:00
zach bethel
7ae3cdb31f Implemented support for multi-pipe UAV access. Implemented command list stats on RDG builder to avoid helper passes. Added {Begin, End}UAVOverlap to RDG UAVs.
#rb none

[CL 14821597 by zach bethel in ue5-main branch]
2020-11-30 13:27:08 -04:00
zach bethel
281d042714 Fixed erroneous assert in RDG debug mode.
#rb none

[CL 14821365 by zach bethel in ue5-main branch]
2020-11-30 13:16:32 -04:00
Marc Audy
a7f9391231 Merge UE5/Release-Engine-Staging @ 14811410 to UE5/Main
This represents UE4/Main @ 14768117

For ReleaseObjectVersion.h
#lockdown Marcus.Wassmer

[CL 14811440 by Marc Audy in ue5-main branch]
2020-11-24 18:42:39 -04:00
Richard Malo
1d647220fe Cook: Added possibility to generate packages during the cook process using CookPackageSplitter (currently only support using cook commandlet).
WorldPartition : Removed PreCookCommandlet and replaced with new FWorldPartitionCookPackageSplitter.
#rb matt.peters, patrick.enfedaque, jeanfrancois.dube

[CL 14806302 by Richard Malo in ue5-main branch]
2020-11-23 09:11:36 -04:00
Sebastien Hillaire
921c0c6e31 Strata: now uses max byte per pixel
Green preflight

#rb Charles.deRousiers

[CL 14795822 by Sebastien Hillaire in ue5-main branch]
2020-11-20 10:08:04 -04:00
zach bethel
b6408b9615 Fix for RDG crash due to early release of allocations.
#rb none

[CL 14783470 by zach bethel in ue5-main branch]
2020-11-18 18:54:41 -04:00
zach bethel
4e959189a6 Reworking RDG allocator to include container memory. This removes the dependency on the thread local memstack, and MemMark can no longer release RDG memory. All RDG memory is now released after execution.
#rb christopher.waters

[CL 14783232 by zach bethel in ue5-main branch]
2020-11-18 18:25:03 -04:00
Patrick Kelly
c48c7aeedd Allow ray tracing unless specifically disabled by the project.
#rb yuriy.odonnell

[CL 14781738 by Patrick Kelly in ue5-main branch]
2020-11-18 16:26:01 -04:00
Marc Audy
af0cbf82a1 Fix warning V670: The uninitialized class member 'Allocator' is used to initialize the 'Blackboard' member. Remember that members are initialized in the order of their declarations inside a class.
#codereview Zach.Bethel

[CL 14770445 by Marc Audy in ue5-main branch]
2020-11-17 23:33:02 -04:00
zach bethel
07f39208c9 Added RDG system textures struct tied to the RDG blackboard. Pre-registers all resources with a ReadOnly flag which will disallow writes. Also allows us to avoid re-registering dummy textures dozens of times. Removed unused GTAO randomization texture.
#rb christopher.waters

[CL 14766647 by zach bethel in ue5-main branch]
2020-11-17 18:21:53 -04:00
zach bethel
7c55500b43 RDG refactors in preparation for scene render targets refactor.
- Added simple blackboard container.
 - Added support for checking if a resource has been produced within the graph.
 - Moved all RHI validation into user validation cpp file.
 - Fixed bug in graph producer compilation logic when switching to subresources.

#rb none

[CL 14766062 by zach bethel in ue5-main branch]
2020-11-17 17:04:48 -04:00
Lukas Hermanns
5ff680897e Emit value of VirtualShaderDirectory in assertion.
#rb none
#fyi Jack.Porter, Carl.Lloyd
#jira UE-103135
#rnx

[CL 14763679 by Lukas Hermanns in ue5-main branch]
2020-11-17 11:27:18 -04:00
Martin Ridgers
be972be826 Moved the Trace namespace into the UE namespace.
#rb jb
#rnx

[CL 14762673 by Martin Ridgers in ue5-main branch]
2020-11-17 06:54:28 -04:00
zach bethel
5630bcfd89 Added Multi-pipeline Transition Support to platforms and RDG. Fixed uniform buffer hack in composition lighting.
#rb luke.thatcher, kenzo.terelst
#jira none

[CL 14727873 by zach bethel in ue5-main branch]
2020-11-11 19:22:36 -04:00
Ola Olsson
636361000e Fix transition errors for GPUScene Instance buffer (not transitioned to SRV if size changed)
- Also changed ResizeResourceIfNeeded to return true also if it was previously zero.

#rb rune.stubbe

[CL 14719669 by Ola Olsson in ue5-main branch]
2020-11-11 11:06:59 -04:00
zach bethel
5ed68b3510 Fixed build break.
#rb none
#rnx

[CL 14714023 by zach bethel in ue5-main branch]
2020-11-10 17:33:32 -04:00
zach bethel
28444033f1 Workaround to remove transitions within a render pass for DrawTileMesh.
#rb none
#rnx

[CL 14712291 by zach bethel in ue5-main branch]
2020-11-10 17:03:20 -04:00
Arciel Rekman
0b33750c15 Fix shader binding type validation for external textures (UE-102423).
#rb Zach.Bethel
#review-14697340 @Zach.Bethel, @Chris.Phillips
#jira UE-102423

[CL 14707378 by Arciel Rekman in ue5-main branch]
2020-11-10 15:35:31 -04:00
zach bethel
a43386cdcf Moved RDG uniform buffer creation to CollectPassResources.
#fyi wei.liu
#rnx

[CL 14692144 by zach bethel in ue5-main branch]
2020-11-09 13:43:23 -04:00
john hable
32f8efc794 Chaning ShaderAutogen to make shader autogen code in FEngineLoop::PreInitPreStartupScreen, instead of when first shader is compiled.
#rb arciel.rekman
#jira ue-101762

[CL 14666446 by john hable in ue5-main branch]
2020-11-05 13:18:41 -04:00
zach bethel
40f8c36086 Fix for RDG pass flags validation and ERHIAccess::IndirectArgs.
#rb none

[CL 14665150 by zach bethel in ue5-main branch]
2020-11-05 11:20:37 -04:00
zach bethel
8ec2ef09ac Fixed RDG buffer creation with initial data API to sanitize inputs.
#rb none

[CL 14665143 by zach bethel in ue5-main branch]
2020-11-05 11:19:55 -04:00