Commit Graph

25 Commits

Author SHA1 Message Date
Krzysztof Narkowicz
534dd5bde9 Disabled render graph building warnings inside test build, and made it off by default, as it takes considerable amount of render thread time.
#rb none
#fyi Guillaume.Abadie

[CL 4883297 by Krzysztof Narkowicz in Main branch]
2019-02-04 10:14:58 -05:00
Guillaume Abadie
7132135b24 Fixes some MSVC static analysis warnings.
#rb none
#jira UE-67755
#lockdown marcus.wassmer

[CL 4802211 by Guillaume Abadie in Dev-Rendering branch]
2019-01-24 14:01:53 -05:00
Rolando Caloca
732810a13b DR - Copying //UE4/Dev-Main@4785067 to //UE4-DevRendering
#rb none
#rnx
#lockdown Marcus.Wassmer

[CL 4790611 by Rolando Caloca in Dev-Rendering branch]
2019-01-23 17:01:56 -05:00
Guillaume Abadie
3d14d2577d Makes the errors checking render graph executions more precise.
#rb none

[CL 4768429 by Guillaume Abadie in Dev-Rendering branch]
2019-01-22 02:15:37 -05:00
Guillaume Abadie
a11fbac7b5 Fixes compilation failures in render graph.
#rb none

[CL 4767308 by Guillaume Abadie in Dev-Rendering branch]
2019-01-21 20:08:38 -05:00
Guillaume Abadie
4572c93021 Adds an option in the render graph to emit warning regardless if it has been already emited.
#rb none

[CL 4736385 by Guillaume Abadie in Dev-Rendering branch]
2019-01-16 16:12:36 -05:00
Guillaume Abadie
f24cd00ca8 Ensures render graph emitted warnings are only emitted once.
#rb none

[CL 4736239 by Guillaume Abadie in Dev-Rendering branch]
2019-01-16 15:48:28 -05:00
Guillaume Abadie
e729e855dc Adds a warning in render graph when a resource is produced by a pass, but never used after.
#rb none

[CL 4730698 by Guillaume Abadie in Dev-Rendering branch]
2019-01-15 19:57:23 -05:00
Guillaume Abadie
b6b06afb3c Impoves implementation of FRDGBuilder::WarnForUselessPassDependencies()
#rb none

[CL 4705754 by Guillaume Abadie in Dev-Rendering branch]
2019-01-10 17:53:26 -05:00
Guillaume Abadie
408f2d59a1 Implements early validation of resource production in render graph to catch common user mistakes more conveniently.
#rb none

[CL 4685955 by Guillaume Abadie in Dev-Rendering branch]
2019-01-07 14:44:04 -05:00
Guillaume Abadie
ca8389b9ec s/UBMT_GRAPH_TRACKED_/UBMT_RDG_ for better naming consistency.
#rb none

[CL 4682491 by Guillaume Abadie in Dev-Rendering branch]
2019-01-04 14:52:46 -05:00
Marcus Wassmer
cbfcbbb93b Merging //UE4/Dev-Main@4662404 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none
Should be just copyright updates

[CL 4680440 by Marcus Wassmer in Dev-Rendering branch]
2019-01-03 19:16:26 -05:00
Marcus Wassmer
4cc088f35c Copying //UE4/Dev-Rendering-HLR@4669539 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none
#lockdown rolando.caloca

[CL 4669551 by Marcus Wassmer in Dev-Rendering branch]
2018-12-18 21:41:17 -05:00
Rolando Caloca
85d8caf949 DR - Generate mips fixes
#rb Guillaume.Abadie
#rnx

[CL 4649146 by Rolando Caloca in Dev-Rendering branch]
2018-12-11 13:44:34 -05:00
Rolando Caloca
0eecaa269f DR - Copy from 4629036
Static analysis fix
#rb none
#rnx

[CL 4631846 by Rolando Caloca in Dev-Rendering branch]
2018-12-05 09:07:49 -05:00
Guillaume Abadie
90ca6d8e89 Prints the name of the shader class in the log when their is shader parameter binding failure.
#rb none

[CL 4590377 by Guillaume Abadie in Dev-Rendering branch]
2018-11-23 15:47:24 -05:00
Guillaume Abadie
a8711de5e9 Cherry-pick 4544349: Adds early shader parameters validation in ClearUnusedGraphResources() to crash even before creating a lambda shader pass when high level have a bug.
#rb none

[CL 4588791 by Guillaume Abadie in Dev-Rendering branch]
2018-11-21 20:49:28 -05:00
Guillaume Abadie
207c6c0d02 Cherry-pick 4530038: Implements render graph event names and scopes to allow more precise pass name when debugging and hierarching pass names in GPU capture.
#rb brian.karis

[CL 4588763 by Guillaume Abadie in Dev-Rendering branch]
2018-11-21 20:33:41 -05:00
Guillaume Abadie
d123ff35c9 Cherry-pick 4529073: Adds support for the visualize texture tool in render graph.
This split the GVisualizeTexture in two:
* first part that capture any texture using a pixel shader, implemented using render pass, that render graph can just automatically insert where needed;
* Second part to present on screem still in Renderer module, because using things like FCanvas, requiring

Depth buffer visualization is broken, because needs to have more functionality in FRDGTextureSRVDesc.

#rb none

[CL 4588745 by Guillaume Abadie in Dev-Rendering branch]
2018-11-21 20:22:47 -05:00
Matt Collins
d760eaeadd Renderpass updates.
RenderGraph.
Using new UnbindRenderTargets utility to reset render target bindings.

#jira UERNDR-292
#rb  none

[CL 4522334 by Matt Collins in Dev-Rendering branch]
2018-10-29 17:45:21 -04:00
Guillaume Abadie
260e1fb57f Fixes PVS-Studio static analysis
#rb none

[CL 4499779 by Guillaume Abadie in Dev-Rendering branch]
2018-10-23 16:44:28 -04:00
Guillaume Abadie
7a68882809 Implements FRDGBuffer, FRDGBufferSRV & FRDGBufferUAV
#rb brian.karis

[CL 4497430 by Guillaume Abadie in Dev-Rendering branch]
2018-10-22 23:01:29 -04:00
Guillaume Abadie
817c312a92 Renames FGraphTexture to FRDGTexture and FRenderGraphBuilder to FRDGBuilder
#rb none

[CL 4496020 by Guillaume Abadie in Dev-Rendering branch]
2018-10-22 14:28:32 -04:00
Guillaume Abadie
e5c56da028 Fixes some compile errors caused by render graph.
#rb none

[CL 4494382 by Guillaume Abadie in Dev-Rendering branch]
2018-10-21 16:35:13 -04:00
Guillaume Abadie
c72b7a33d8 Merging //UE4/Dev-Rendering-Graph@4492585 to Dev-Rendering (//UE4/Dev-Rendering)
This implements the framework to write the high level rendering code into passes organized in direct acyclic graph. It is also unifying the uniform buffer, shader parameters, and pass parameters to same single API: structures with run time meta data. This allow high level user code be extremely seamless, user code debugging, and render graph ease of implementation and debugging.

Issue of collaborative work of Arne Schnober, Brian Karis, Daniel Wright, Marcus Wassmer and Guillaume Abadie.

Names of the graph managed resources are not final.

#rb Arne.Schnober, Brian.Karis, Daniel.Wright, Marcus.Wassmer

[CL 4492694 by Guillaume Abadie in Dev-Rendering branch]
2018-10-19 17:36:35 -04:00