Commit Graph

8 Commits

Author SHA1 Message Date
zach bethel
10131e1285 Refactored RDG in preparation for UnifiedBuffer conversions.
- Refactord 'Finalized Access' feature into a more flexible 'External' vs. 'Internal' access mode per resource toggle.
      - Resources can transition between modes multiple times within the graph.
      - Supports async compute pipeline.
      - Supports queueing of requests to avoid back-to-back helper passes.
      - This feature is needed to support conversion of GPU scene buffers.

 - Deprecated the ReadOnly and ForceTracking resource flags and added a 'SkipTracking' flag instead.
      - Previous semantics were confusing and error prone.
      - New model requires a manual flag to tell RDG never to transition a resource.
      - This flag is used for read-only dummy resources as an optimization.

 - Renamed some of the auxiliary 'FinalizedResource' utilities since the name no longer matches the semantics.

#preflight 6266cc6d0634d0904ce4ba46

[CL 19904734 by zach bethel in ue5-main branch]
2022-04-25 13:00:12 -04:00
Jeremy Moore
3a1431cd74 Make "r.vt.FeedbackFactor" something that can be changed at runtime, instead of needing a restart/shader recompile.
This should be useful if we want to vary the feedback trade offs for different modes.
Did some comparisons of shader ISA and ALU cost is unchanged.
#jira none
#ushell-cherrypick of 17483512 by Jeremy.Moore

[CL 17491509 by Jeremy Moore in ue5-main branch]
2021-09-13 09:56:49 -04:00
zach bethel
6d8c626425 Incremental fix-up to add names to RDG passes and use the correct RHI command list.
#rb christopher.waters

[CL 16923748 by zach bethel in ue5-main branch]
2021-07-22 10:59:17 -04:00
Emil Persson
adf0716e8d Replace FVertexBufferRHIRef, FIndexBufferRHIRef and FStructuredBufferRHIRef with FBufferRHIRef.
#rb kenzo.terelst

[CL 15153257 by Emil Persson in ue5-main branch]
2021-01-21 07:06:03 -04:00
Jeremy Moore
dee61514c8 Rename for new FVirtualTextureFeedbackGPU class
#rb trivial

[CL 15071237 by Jeremy Moore in ue5-main branch]
2021-01-13 15:55:27 -04:00
zach bethel
c6cb1e82be Deprecated and gutted FSceneRenderTargets. Moved all textures over to FSceneTextures. Refactored the renderer to use RDG textures from FSceneTextures instead.
#rb arne.schober, luke.thatcher, christopher.waters, kenzo.terelst

[CL 15040082 by zach bethel in ue5-main branch]
2021-01-11 14:49:16 -04:00
Jeremy Moore
a6deace99b Add interface to support case when the VT feedback buffer is a full FRDGBuffer.
New interface will be used by VHM feedback.
Old interface can be deprecated whenever main pass feedback buffer is converted to RDG.
#jira none
#fyi zach.bethel
#rb none
#rnx

[CL 14957204 by Jeremy Moore in ue5-main branch]
2020-12-18 16:31:17 -04:00
robomerge
3b202e7d5b Refactor VT feedback system to provide public interface for submitting buffers from external libs.
#ROBOMERGE-SOURCE: CL 12911582 via CL 12911588 via CL 12911591
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12911592 by robomerge in Main branch]
2020-04-19 16:00:48 -04:00