More removal of view uniform buffer from mesh draw commands. Refactored pass uniform buffers in hair to use RDG.

#rb charles.derousiers

[CL 14889672 by zach bethel in ue5-main branch]
This commit is contained in:
zach bethel
2020-12-09 13:11:49 -04:00
parent 403925ddf3
commit 695f33573a
15 changed files with 217 additions and 285 deletions
@@ -597,7 +597,7 @@ public:
RenderScope.EnqueueRenderCommand(
[Parameters](FRHICommandListImmediate& RHICmdList)
{
FMeshPassProcessorRenderState DrawRenderState(*Parameters.View);
FMeshPassProcessorRenderState DrawRenderState;
// disable depth test & writes
DrawRenderState.SetDepthStencilState(TStaticDepthStencilState<false, CF_Always>::GetRHI());