Integrating github/staging through commit ab87ed9

This commit is contained in:
alexpete
2021-04-09 11:27:37 -07:00
parent ae62a97894
commit 1044dc3da1
1582 changed files with 29374 additions and 519051 deletions
@@ -142,8 +142,6 @@ static const SRenderLight* FindSunLight(SRenderPipeline& renderPipeline)
void CStandardGraphicsPipeline::UpdatePerFrameConstantBuffer(const PerFrameParameters& perFrameParams)
{
CD3D9Renderer* renderer = gcpRendD3D;
const PerFrameParameters& perFrameConstants = renderer->m_cEF.m_PF;
SRenderPipeline& RESTRICT_REFERENCE rp = gRenDev->m_RP;
CTypedConstantBuffer<HLSL_PerFrameConstantBuffer> cb(m_PerFrameConstantBuffer);
@@ -409,8 +407,6 @@ void CStandardGraphicsPipeline::BindPerViewConstantBuffer()
void CStandardGraphicsPipeline::UpdatePerShadowConstantBuffer(const ShadowParameters& params)
{
CD3D9Renderer* renderer = gcpRendD3D;
const SRenderPipeline& renderPipeline = renderer->m_RP;
const auto& shadowFrustum = *params.m_ShadowFrustum;
CTypedConstantBuffer<HLSL_PerSubPassConstantBuffer_ShadowGen> cb(m_PerShadowConstantBuffer);