Commit Graph

121 Commits

Author SHA1 Message Date
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
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
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
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
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
Daniel Wright
cc1f6caa09 Better assert message when RDG encounters an SRV during AddPass that hasn't been encountered as a UAV or RTV yet.
#fyi Zach.Bethel

[CL 14637185 by Daniel Wright in ue5-main branch]
2020-11-02 18:07:00 -04:00
zach bethel
55454613b7 Merged CL to fix UAV crash: Refactored RDG pooled buffer UAV/SRV creation into public helper functions to aid with hair conversion.
#rnx
#jira UESP-3926
#rb charles.derousiers
#ushell-cherrypick of 14480968 by zach.bethel

[CL 14540380 by zach bethel in ue5-main branch]
2020-10-21 18:38:31 -04:00
Marc Audy
50a3d7d368 Merge Release-Engine-Staging to Main @ CL# 14467590
This represents UE4/Main @ 14432125 + some cherrypick fixes

[CL 14468207 by Marc Audy in ue5-main branch]
2020-10-09 22:42:26 -04:00
zach bethel
cf37aaf0bc Fix for ConvertToExternalX causing passes to be culled in RDG.
- This function calls FRDGBuilder::PreallocateX, which sets bExternal to true.
 - Culling relies on bUntrackedOutputs to mark passes with external resources as root nodes in the culling traversal.
 - bUntrackedOutputs was being assigned during AddPass instead of during Compile.

#rb krzysztof.narkowicz
#jira none

[CL 14412855 by zach bethel in ue5-main branch]
2020-09-30 14:23:56 -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
zach bethel
0f9be83133 Fixed RDG to respect the MSAA plane.
#rb trivial

#ROBOMERGE-SOURCE: CL 14282686 in //UE5/Release-5.0-M2/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-M2 -> Main) (v732-14297381)

[CL 14302488 by zach bethel in ue5-main branch]
2020-09-11 17:03:14 -04:00
Arciel Rekman
a4bc65a554 Fix clang compiler errors (UE-98026).
- The -Wconstant-logical-operand warning shouldn't be disabled as it helps finding if (Flags && SOME_FLAG) bugs.

#rb Graham.Wihlidal
#jira UE-98026

[CL 14241213 by Arciel Rekman in ue5-main branch]
2020-09-01 20:52:55 -04:00
Michal Valient
95d19f95b1 [REVERB] Merging //UE4/Private-Reverb-Development@13832732
#rb graham.wihlidal, rune.stubbe, brian.karis, andrew.lauritzen, jeff.farris

[CL 13834854 by Michal Valient in ue5-main branch]
2020-07-06 18:58:26 -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
rolando caloca
d525dc9f3d UE4.25 - Copy/paste fix
#rb none
#rnx
#lockdown Marcus.Wassmer
#jira UE-91638

#ROBOMERGE-SOURCE: CL 12654310 in //UE4/Release-4.25/... via CL 12654489 via CL 12654700
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12654835 by rolando caloca in Main branch]
2020-04-07 11:03:39 -04:00
rolando caloca
d7fc07f4ea UE4.25 - Deprecate UnbindRenderTargets
#rb none
#lockdown Marcus.Wassmer
#jira UE-91584

#ROBOMERGE-OWNER: rolando.caloca
#ROBOMERGE-AUTHOR: rolando.caloca
#ROBOMERGE-SOURCE: CL 12632871 in //UE4/Release-4.25/... via CL 12632899 via CL 12633229
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12633251 by rolando caloca in Main branch]
2020-04-06 16:28:53 -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
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
zach bethel
744bc93654 Fix for debug draw pass using MSAA depth instead of resolved depth.
#rb none
#jira UE-89246

#ROBOMERGE-SOURCE: CL 12113457 in //UE4/Release-4.25/... via CL 12113461
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v657-12064184)

[CL 12113467 by zach bethel in Main branch]
2020-03-10 13:58:15 -04: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
Rolando Caloca
f63a3e857e Merging //UE4/Main@11178322 to Dev-RenderPlat-Staging
#rnx
#rb none

[CL 11195678 by Rolando Caloca in Dev-RenderPlat-Staging branch]
2020-01-31 10:34:10 -05:00