Commit Graph

110 Commits

Author SHA1 Message Date
zach bethel
5f48f157db Cable Component - static relevance
Cable component proxy does not has any view dependent draw arguments so it can go through DrawStaticElements.
No need to recreate mesh batch every frame.

[CL 28207156 by zach bethel in ue5-main branch]
2023-09-25 17:34:10 -04:00
zach bethel
d69d3869fc Defer sending render dynamic data when the register component context is used. SendRenderDynamicData_Concurrent expects the scene proxy to be created, but when the context defers creation this is no longer the case. Proxies like cable component that require an initial set of dynamic data can render the first frame with bogus contents.
#rb jian.ru

[CL 27968024 by zach bethel in ue5-main branch]
2023-09-18 14:31:07 -04:00
tiago costa
f8e4966d8b Fix crash due to unreleased FRayTracingGeometry in FCableSceneProxy
#rb none

[CL 27825397 by tiago costa in ue5-main branch]
2023-09-13 06:58:04 -04:00
zach bethel
29f735f4a3 Modified scene proxy GetDynamicMeshElements calls to take a local command list instead of relying on the immediate command list and defer uniform expression cache invalidations.
- Calls to FRHICommandListImmediate::Get() replaced with Collector.GetRHICommandList()

#jira UE-194426

[CL 27813729 by zach bethel in ue5-main branch]
2023-09-12 18:32:22 -04:00
tiago costa
bdd2a715c3 Refactor RayTracingGeometry initalization in a few proxies to not modify FRayTracingGeometry::Initializer directly.
- some foundation work towards making FRayTracingGeometry::Initializer private.

#rb aleksander.netzel

[CL 27688695 by tiago costa in ue5-main branch]
2023-09-07 17:03:52 -04:00
jeanfrancois dube
11b6bc9e12 [Backout] - CL22775971
[FYI] JeanFrancois.Dube
Original CL Desc
-----------------------------------------------------------------
Cable Component: get around the fact that it keeps an array of world space positions, resulting in bad actor bounds when saving a streaming level.

#rb patrick.enfedaque
#rnx

[CL 27590136 by jeanfrancois dube in ue5-main branch]
2023-09-04 18:46:01 -04:00
zach bethel
fb4fed1103 Re-enabled render command pipes and fixed Skinning / Niagara race conditions.
- Added flags to render command pipe definitions to allow for disabling in code.
 - Release the TFunction after each command to match behavior of the render command tasks.

[CL 27412478 by zach bethel in ue5-main branch]
2023-08-28 11:31:06 -04:00
zach bethel
28be363548 Resubmitted render command pipe CL's: 27048554, 27048589, 27048615, 27049788, 27049950, 27050314, 27050334.
- Niagara dynamic data
 - Cable component
 - Skinned mesh

[CL 27076836 by zach bethel in ue5-main branch]
2023-08-14 13:39:43 -04:00
bob tellez
9a6ca97f78 [Backout] - CL27048554, 27048589, 27048615, 27049788, 27049950, 27050314, 27050334
[FYI] zach.bethel
First Original CL Desc
-----------------------------------------------------------------
Moved volumetric volume to RHICmdList.

[CL 27054300 by bob tellez in ue5-main branch]
2023-08-11 20:13:53 -04:00
zach bethel
d94dc179ec Moved cable component dynamic update to a render command pipe.
[CL 27050351 by zach bethel in ue5-main branch]
2023-08-11 18:24:05 -04:00
tiantian xie
55f165f15f Fix a crash for' FRenderResource was deleted without being released first' in FCableSceneProxy when ray tracing is not enabled in editor.
#jira UE-184708
#rb none

[CL 26532310 by tiantian xie in ue5-main branch]
2023-07-21 22:06:24 -04:00
tiantian xie
1744d39e99 Rearrange the flag to improve the memory usage of FCableSceneProxy.
#jira UE-184708
#rb trivial

[CL 26518011 by tiantian xie in ue5-main branch]
2023-07-21 13:33:04 -04:00
tiantian xie
dcad1fe78e Add ray tracing support to FCableSceneProxyCable (with WPO).
#jira UE-184708
#rb aleksander.netzel, tiago.costa, chris.kulla

#ushell-cherrypick of 26471778 by Tiantian.Xie

[CL 26502478 by tiantian xie in ue5-main branch]
2023-07-20 20:58:02 -04:00
Tiantian Xie
fd85471081 Add ray tracing support to FCableSceneProxyCable (with WPO).
#jira UE-184708
#rb aleksander.netzel, tiago.costa, chris.kulla

[CL 26502324 by Tiantian Xie in ue5-main branch]
2023-07-20 20:43:13 -04:00
zach bethel
aa1b0c680f Deprecated non-command list RHI methods.
- RHICreate{Vertex, Index, Structured}Buffer
 - RHICreate{ShaderResource, UnorderedAccess}View
 - RHIUpdateUniformBuffer
 - Various initialization / locking methods for helper buffer types in RHIUtilities.h

The goal is to continue to force resource creation through command lists to avoid surprises with moving things off the render thread.

#rb christopher.waters

[CL 26183242 by zach bethel in ue5-main branch]
2023-06-22 11:08:27 -04:00
zach bethel
a7a9029b20 Deprecated InitRHI() in favor of InitRHI(FRHICommandListBase&).
#rb mihnea.balta, luke.thatcher, christopher.waters

[CL 26097009 by zach bethel in ue5-main branch]
2023-06-19 13:56:56 -04:00
henrik karlsson
3c9aacb1ad [Engine/Plugins]
* Updated public headers for ~170 engine plugins using iwyu to remove includes not needed. Removed includes are still available behind UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_2

#preflight 63c08f4a2a6acaf1622bcc73
#rb none

[CL 23674775 by henrik karlsson in ue5-main branch]
2023-01-13 01:54:01 -05:00
henrik karlsson
2f78497e67 [Engine/Plugins]
* Updated private files with IWYU for all plugins which had 3 or less changes made in ue5 main since last integration to fn

#preflight 63bf8d8b577437afe607dc72
#rb none

[CL 23659643 by henrik karlsson in ue5-main branch]
2023-01-12 01:48:34 -05:00
christopher waters
8fd10b0e13 Dependency cleanup around some Rendering headers.
#preflight 63b893e547321b9d895924b0

[CL 23605570 by christopher waters in ue5-main branch]
2023-01-06 18:57:09 -05:00
christopher waters
f8abec7a8e Material header dependency cleanup
- Removing MaterialAttributeDefinitionMap and MaterialRenderProxy from MaterialShared.h
- Removing MaterialShared from Material.h

#preflight 639cbb35776b61ba3b82f03e

[CL 23541603 by christopher waters in ue5-main branch]
2022-12-16 16:24:02 -05:00
christopher waters
7215f7d4ec Fully moving MaterialDomain to its own header.
#jira none
#preflight 639b4dc335203bc7aa695078

[CL 23531533 by christopher waters in ue5-main branch]
2022-12-15 16:01:51 -05:00
jeanfrancois dube
39e24dafd3 Cable Component: get around the fact that it keeps an array of world space positions, resulting in bad actor bounds when saving a streaming level.
#rb patrick.enfedaque
#preflight 6358725f765b435dddf8d15e
#rnx

[CL 22802835 by jeanfrancois dube in ue5-main branch]
2022-10-26 22:18:19 -04:00
Robb Surridge
610c467639 Update vendor links for built-in plugins to use secure protocol.
#jira UE-166823
#rb lauren.barnes
#preflight 6352b20b7261e565c476ec3b

[CL 22690089 by Robb Surridge in ue5-main branch]
2022-10-21 11:04:07 -04:00
jeremyabel
3e57b3a7f6 PR #9630: Allow UCableComponent to render to the CustomDepth buffer (Contributed by jeremyabel)
#preflight 634556a0a502e110c7a07e90
#rb wouter.dek

[CL 22455767 by jeremyabel in ue5-main branch]
2022-10-11 08:04:54 -04:00
bryan sefcik
50d4fac9e0 Updated ../Engine/Plugins/... to inline gen.cpp files
Before:
3548 unity files
Total CPU Time: 47343.578125 s
Total time in Parallel executor: 494.60 seconds

After:
3445 unity files
Total CPU Time: 46044.671875 s
Total time in Parallel executor: 468.51 seconds

#jira
#preflight 63336159b20e73a098b7f24f

[CL 22218213 by bryan sefcik in ue5-main branch]
2022-09-28 01:06:15 -04:00