diff options
| author | lbavoil <[email protected]> | 2017-01-23 09:55:05 +0100 |
|---|---|---|
| committer | lbavoil <[email protected]> | 2017-01-23 09:55:05 +0100 |
| commit | 0e07a80f8c1443e047e283f30693cf708a3204ea (patch) | |
| tree | 460cb590a7dfc7d43a205f33fa0631f408b68940 /src/PipelineStateObjects_DX12.cpp | |
| parent | Polish HLSL. No functional change. (diff) | |
| download | hbaoplus-0e07a80f8c1443e047e283f30693cf708a3204ea.tar.xz hbaoplus-0e07a80f8c1443e047e283f30693cf708a3204ea.zip | |
HBAO+ 3.1.0.21602716
Diffstat (limited to 'src/PipelineStateObjects_DX12.cpp')
| -rw-r--r-- | src/PipelineStateObjects_DX12.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/PipelineStateObjects_DX12.cpp b/src/PipelineStateObjects_DX12.cpp index f2abe71..e7f4985 100644 --- a/src/PipelineStateObjects_DX12.cpp +++ b/src/PipelineStateObjects_DX12.cpp @@ -1,5 +1,5 @@ /* -* Copyright (c) 2008-2016, NVIDIA CORPORATION. All rights reserved. +* Copyright (c) 2008-2017, NVIDIA CORPORATION. All rights reserved. * * NVIDIA CORPORATION and its licensors retain all intellectual property * and proprietary rights in and to this software, related documentation @@ -592,12 +592,14 @@ ID3D12PipelineState* GFSDK::SSAO::D3D12::BlurYPSO::GetPSO( m_EnableSharpnessProfilePermutation != EnableSharpnessProfilePermutation || m_BlurKernelRadiusPermutation != BlurKernelRadiusPermutation || m_RTSampleCount != Output.RenderTarget.SampleCount || - m_RTFormat != Output.RenderTarget.Format) + m_RTFormat != Output.RenderTarget.Format || + m_BlendMode != Output.Blend.Mode) { m_EnableSharpnessProfilePermutation = EnableSharpnessProfilePermutation; m_BlurKernelRadiusPermutation = BlurKernelRadiusPermutation; m_RTSampleCount = Output.RenderTarget.SampleCount; m_RTFormat = Output.RenderTarget.Format; + m_BlendMode = Output.Blend.Mode; m_BlurYPSO.Desc.pRootSignature = m_BlurYRS; m_BlurYPSO.Desc.NumRenderTargets = 1; |