Commit Graph

91 Commits

Author SHA1 Message Date
guillaume abadie
b8fa71d2bd Fixes crashes in QAEntry map
#rb none
#jira none
[FYI] zach.bethel

#ROBOMERGE-SOURCE: CL 10166912 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v587-10111126)

[CL 10167826 by guillaume abadie in Main branch]
2019-11-13 17:29:52 -05:00
guillaume abadie
413b445617 Allows to read any RDG resources in a GenerateMips pass
#rb zach.bethel
#jira none

#ROBOMERGE-SOURCE: CL 10129378 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v587-10111126)

[CL 10129395 by guillaume abadie in Main branch]
2019-11-13 13:12:15 -05:00
Rolando Caloca
f83ae4807a Copying //UE4/Dev-Rendering@9317594 to Dev-RenderPlat-Staging
#rb none
#rnx

[CL 9317904 by Rolando Caloca in Dev-RenderPlat-Staging branch]
2019-10-01 13:03:04 -04:00
Marcus Wassmer
ded7cece25 Copying //UE4/Dev-Rendering@8444433 to Dev-RenderPlat-Staging (//UE4/Dev-RenderPlat-Staging)
#rb none

[CL 8445676 by Marcus Wassmer in Dev-RenderPlat-Staging branch]
2019-09-03 19:19:28 -04:00
zach bethel
cb2e114967 Fixes for build warnings.
#rb none
#jira none

[CL 8096916 by zach bethel in Dev-Rendering branch]
2019-08-16 14:50:26 -04:00
zach bethel
dcac67ab04 Remove MSAA assert in render graph builder.
#rb none
#jira none

[CL 8095889 by zach bethel in Dev-Rendering branch]
2019-08-16 13:51:18 -04:00
zach bethel
bccbd898cf Clobber depth now uses something more exotic than 0.
#rb none
#jira none

[CL 8091388 by zach bethel in Dev-Rendering branch]
2019-08-16 11:25:10 -04:00
zach bethel
e8fd560e38 Refactored ClearUAV into RenderGraphUtils. Renamed to AddClearUAVPass to match convention. Implemented using texture descriptor instead of parent RHI texture. Removed RDG validation workaround that allowed parent texture to be accessed without being declared. Added r.RDG.ClobberResources implementation which can help catch bugs with clears or sampling outside a valid view rect.
#jira none
#rb guillaume.abadie

[CL 8069092 by zach bethel in Dev-Rendering branch]
2019-08-15 18:58:08 -04:00
zach bethel
029c16f223 Minor cleanup of RDG internals.
#rb none
#jira none

[CL 7846751 by zach bethel in Dev-Rendering branch]
2019-08-07 18:32:00 -04:00
Guillaume Abadie
61d78d391f Removes the store action on the render target binding that is just redondant.
#rb zach.bethel

[CL 7562289 by Guillaume Abadie in Dev-Rendering branch]
2019-07-23 14:26:29 -04:00
Guillaume Abadie
cbdc361c0b Extends FRDGTextureSRVDesc to all capabilities of the RHI
#rb zach.bethel

[CL 7443969 by Guillaume Abadie in Dev-Rendering branch]
2019-07-18 19:08:07 -04:00
Juan Canada
ce2b5909c8 Merging //UE4/Dev-Main@7438020 to Dev-Rendering (//UE4/Dev-Rendering)
#rnx
#rb none

[CL 7442279 by Juan Canada in Dev-Rendering branch]
2019-07-18 16:19:57 -04:00
zach bethel
14c8103d2b Integrated render graph fixes from 4.23.
#jira none
#rb none

[CL 7327638 by zach bethel in Dev-Rendering branch]
2019-07-16 16:39:50 -04:00
zach bethel
53b49dee8a Minor fixes to RenderGraph implementation.
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 7326766 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7326772 by zach bethel in Main branch]
2019-07-16 15:10:54 -04:00
zach bethel
f38aad9da5 Refactored render graph validation logic. Hardened mip generation pass barrier handling. Fixed compute-based mip generation pass helper.
#jira UE-77059
#rb guillaume.abadie

#ROBOMERGE-OWNER: zach.bethel
#ROBOMERGE-AUTHOR: zach.bethel
#ROBOMERGE-SOURCE: CL 7324754 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7324765 by zach bethel in Main branch]
2019-07-16 13:08:56 -04:00
zach bethel
586d513cb3 Fixed issue where RDG buffer pool would grow unbounded.
#rb guillaume.abadie
#jira UE-76453

[CL 7252771 by zach bethel in Dev-Rendering branch]
2019-07-09 17:24:17 -04:00
zach bethel
564177bd96 Fixed issue where RDG buffer pool would grow unbounded.
#rb guillaume.abadie
#jira UE-76453

#ROBOMERGE-SOURCE: CL 7252701 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v368-7249887)

[CL 7252715 by zach bethel in Main branch]
2019-07-09 17:22:17 -04:00
Guillaume Abadie
7e32eb21dd Improves visualise texture tool with more information on the draw event of the pass and avoid capturing resource with undesired mip level.
#rb none
#fyi zach.bethel

[CL 7208096 by Guillaume Abadie in Dev-Rendering branch]
2019-06-28 21:53:33 -04:00
Marc Audy
656ad034d6 Remove duplicated function
#rb
#rnx
#codereview zach.bethel

[CL 7090361 by Marc Audy in Main branch]
2019-06-19 09:14:52 -04:00
zach bethel
89b5196c79 Fixed render graph validation when doing copy passes.
#rb none
#jira none

[CL 7085234 by zach bethel in Dev-Rendering branch]
2019-06-18 23:57:06 -04:00
zach bethel
42846be25b Hand-Integrated fixes from Main:
7064877 - RDG Resource Barrier Fixes and Improvements.

 - Resource barriers are now batched and submitted as a group at the beginning of a pass.
 - UAVs referencing the same underlying resource now only submit a single write barrier instead of a write + N UAV barriers.
 - During a mip generation pass, barriers are not issued for textures (they are implicitly converted to the SubRWBarrier state).
 - Depth / stencil read now transitions to the read state; this allows DSV + SRV to work correctly.

#jira UE-76196
#rb Guillaume.Abadie

7064884 - Fixed RHI resource transitions causing validation failures.

#rb Rolando.Caloca
#jira none

7064898 - Fixed issue where implementation of RHICopyTexture would only copy mip 0, breaking environment probe copies.

#jira UE-76203
#rb Jeremy.Moore


#ROBOMERGE-OWNER: zach.bethel
#ROBOMERGE-AUTHOR: zach.bethel
#ROBOMERGE-SOURCE: CL 7082976 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7082994 by zach bethel in Main branch]
2019-06-18 22:23:27 -04:00
zach bethel
01ca617a01 Multiple external resource registrations now de-duplicate to the same RDG resource.
#fyi guillaume.abadie
#rb none
#jira none

[CL 7080094 by zach bethel in Dev-Rendering branch]
2019-06-18 18:39:45 -04:00
zach bethel
8ca3dc170e Added RDG_{TEXTURE, BUFFER}_COPY_DEST usage to pass parameters.
#rb guillaume.abadie
#jira none

[CL 7073169 by zach bethel in Dev-Rendering branch]
2019-06-18 16:53:31 -04:00
zach bethel
175fc044be Hand-Integrated fixes from Main:
7064877 - RDG Resource Barrier Fixes and Improvements.

 - Resource barriers are now batched and submitted as a group at the beginning of a pass.
 - UAVs referencing the same underlying resource now only submit a single write barrier instead of a write + N UAV barriers.
 - During a mip generation pass, barriers are not issued for textures (they are implicitly converted to the SubRWBarrier state).
 - Depth / stencil read now transitions to the read state; this allows DSV + SRV to work correctly.

#jira UE-76196
#rb Guillaume.Abadie

7064884 - Fixed RHI resource transitions causing validation failures.

#rb Rolando.Caloca
#jira none

7064898 - Fixed issue where implementation of RHICopyTexture would only copy mip 0, breaking environment probe copies.

#jira UE-76203
#rb Jeremy.Moore

[CL 7066658 by zach bethel in Dev-Rendering branch]
2019-06-18 15:01:03 -04:00
zach bethel
879a31dc40 RDG Resource Barrier Fixes and Improvements.
- Resource barriers are now batched and submitted as a group at the beginning of a pass.
 - UAVs referencing the same underlying resource now only submit a single write barrier instead of a write + N UAV barriers.
 - During a mip generation pass, barriers are not issued for textures (they are implicitly converted to the SubRWBarrier state).
 - Depth / stencil read now transitions to the read state; this allows DSV + SRV to work correctly.

#jira UE-76196
#rb Guillaume.Abadie

[CL 7064877 by zach bethel in Main branch]
2019-06-18 13:23:41 -04:00