Commit Graph

788 Commits

Author SHA1 Message Date
zach bethel
102420ff59 Expanded RDG builder outside of scene renderer.
#rb christopher.waters
#jira none

[CL 14914671 by zach bethel in ue5-main branch]
2020-12-14 13:56:15 -04:00
zach bethel
20c1e430de Fixed RDG 'Clear' stat timings.
#rb none
#rnx

[CL 14914490 by zach bethel in ue5-main branch]
2020-12-14 13:29:53 -04:00
graham wihlidal
073b9f0723 Use explicit 32bit values on primitive scene data for lightmap UV and data indices (rather than bitpacking) until some corruption is tracked down.
#fyi brian.karis

[CL 14912180 by graham wihlidal in ue5-main branch]
2020-12-14 02:41:14 -04:00
Marc Audy
ada7c144fa Merge //UE5/Release-Engine-Staging @14903491 to //UE5/Main
[CL 14906022 by Marc Audy in ue5-main branch]
2020-12-11 14:21:20 -04:00
zach bethel
a123d08133 Refactored all RHI's to include RHICore. Moved ApplyStaticUniformBuffer helpers from ShaderCore into RHICore.
#rb christopher.waters

[CL 14901995 by zach bethel in ue5-main branch]
2020-12-10 17:34:06 -04:00
Emil Persson
72db809300 Replace legacy LockVertexBuffer()/LockIndexBuffer()/LockStructuredBuffer() calls with the unified LockBuffer()
#rb kenzo.terelst

[CL 14898308 by Emil Persson in ue5-main branch]
2020-12-10 11:51:32 -04:00
graham wihlidal
748c134f14 Fixed crash in UseNanite() if the r.Nanite cvar is missing.
#rb trivial

[CL 14884757 by graham wihlidal in ue5-main branch]
2020-12-08 19:33:43 -04:00
zach bethel
bbca7d57e6 Fixed build break.
#rb none

[CL 14876404 by zach bethel in ue5-main branch]
2020-12-07 23:41:36 -04:00
zach bethel
0a145b23fe Improved RDG state merging to better handle subresources. Subresource tracking is used for the rest of the graph if subresource states are encountered. Improved error reporting for edge case where transitions are inserted out of order. Added explicit merge check for depth read / write to make sure that it doesn't merge with anything else.
#rb none

[CL 14874576 by zach bethel in ue5-main branch]
2020-12-07 18:45:31 -04:00
zach bethel
009d520faf Fixed build break.
#rb none

[CL 14874096 by zach bethel in ue5-main branch]
2020-12-07 18:03:39 -04:00
zach bethel
0d7dc4d4ed Refactor of uniform buffer binding to allow for runtime selection of static or per-shader binding. This is a necessary precursor to moving the View uniform buffer to use static bindings on mesh passes; it is used in so many places that both binding models are required to preserve compatibility. Added validation to catch when a uniform buffer is bound using both methods at the same time. Added CVar to RHI transition validation to control whether to break in the debugger on a transition failure.
#rb christopher.waters

[CL 14873973 by zach bethel in ue5-main branch]
2020-12-07 17:42:32 -04:00
Sebastien Hillaire
75923c9dce Fixed trata colored translucency du to a recent change.
#fyi John.hable

[CL 14868864 by Sebastien Hillaire in ue5-main branch]
2020-12-07 06:03:54 -04:00
john hable
1193bd49d8 Cleaning up derived defines.
#rb none
#fyi sebastien.hillaire

[CL 14857781 by john hable in ue5-main branch]
2020-12-04 15:36:00 -04:00
john hable
9c4f82a4cb Fixing thin translucent rendering.
#jira uesp-4036
#rb sebastian.hillaire

[CL 14856023 by john hable in ue5-main branch]
2020-12-04 13:26:04 -04:00
Wei Liu
0dac6d9fd6 Port mobile base pass to RDG.
#jira UE-91343

#rb Zachary.Bethel, Dmitriy.Dyomin, Jack.Porter, Mi.Wang

[CL 14855338 by Wei Liu in ue5-main branch]
2020-12-04 12:07:09 -04:00
rod bogart
abd1774fd7 Rename YUV to RGB matrices and fix errors
#jira UE-103295
#rb Simon.Therriault

[CL 14840077 by rod bogart in ue5-main branch]
2020-12-02 19:12:19 -04:00
Josh Adams
bec95f7d1c - Breaking a circular references that was on Mac but not Windows (editor compiles and runs on Windows, Mac still compiling)
#rb none

[CL 14837715 by Josh Adams in ue5-main branch]
2020-12-02 15:22:18 -04:00
Sebastien Hillaire
ad7877041a Auto MSM/Domain set from graph for volumetric and unlit.
Added strata shading model as material info to infor domain/blend/MSM.
This work with material function and material layer.
Added unlit node and shader support for it.

#rb Charles.deRousiers.

[CL 14826806 by Sebastien Hillaire in ue5-main branch]
2020-12-01 03:43:19 -04:00
zach bethel
4b7da82dd7 Removed deprecated RDG texture desc create functions.
#rb none

[CL 14823981 by zach bethel in ue5-main branch]
2020-11-30 18:01:37 -04:00
zach bethel
8b370a9a97 Fix for non-unity builds.
#rb none

[CL 14821718 by zach bethel in ue5-main branch]
2020-11-30 13:41:01 -04:00
zach bethel
e8495060db Fixed deprecation warnings.
#rb none

[CL 14821612 by zach bethel in ue5-main branch]
2020-11-30 13:28:09 -04:00
zach bethel
7ae3cdb31f Implemented support for multi-pipe UAV access. Implemented command list stats on RDG builder to avoid helper passes. Added {Begin, End}UAVOverlap to RDG UAVs.
#rb none

[CL 14821597 by zach bethel in ue5-main branch]
2020-11-30 13:27:08 -04:00
zach bethel
281d042714 Fixed erroneous assert in RDG debug mode.
#rb none

[CL 14821365 by zach bethel in ue5-main branch]
2020-11-30 13:16:32 -04:00
Rolando Caloca
8c5dda23da UE5 - Proper fix for r.Shaders.KeepDebugInfo passing in the FRHIShader::ShaderName correctly
Initial fixes and tested on D3D11, D3D12 and Vulkan
Changed 'n' to FShaderCodeName::Key
Also added checks if trying to add optional shader data out of order
#rb Jonas.Meyer, Kenzo.Terelst, Mihnea.Balta

[CL 14816162 by Rolando Caloca in ue5-main branch]
2020-11-26 13:34:15 -04:00
Marc Audy
a7f9391231 Merge UE5/Release-Engine-Staging @ 14811410 to UE5/Main
This represents UE4/Main @ 14768117

For ReleaseObjectVersion.h
#lockdown Marcus.Wassmer

[CL 14811440 by Marc Audy in ue5-main branch]
2020-11-24 18:42:39 -04:00