diff options
| author | lbavoil <[email protected]> | 2018-03-15 11:08:34 +0100 |
|---|---|---|
| committer | lbavoil <[email protected]> | 2018-03-15 11:08:34 +0100 |
| commit | 636807e68a85a978473764d171ed0c7cc36f9be6 (patch) | |
| tree | 784a3d4fa8f48b4c085dd959678505b2af12f425 /src/shaders/out/D3D11/DebugAO_PS.h | |
| parent | Remove test folder (diff) | |
| download | hbaoplus-636807e68a85a978473764d171ed0c7cc36f9be6.tar.xz hbaoplus-636807e68a85a978473764d171ed0c7cc36f9be6.zip | |
HBAO+ 4.0.0.23740451
Diffstat (limited to 'src/shaders/out/D3D11/DebugAO_PS.h')
| -rw-r--r-- | src/shaders/out/D3D11/DebugAO_PS.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/src/shaders/out/D3D11/DebugAO_PS.h b/src/shaders/out/D3D11/DebugAO_PS.h index 4c1d701..d7ae77c 100644 --- a/src/shaders/out/D3D11/DebugAO_PS.h +++ b/src/shaders/out/D3D11/DebugAO_PS.h @@ -17,21 +17,32 @@ namespace ShaderPermutations }; #endif +#ifndef NUM_STEPS_DEFINED +#define NUM_STEPS_DEFINED + enum NUM_STEPS + { + NUM_STEPS_4, + NUM_STEPS_8, + NUM_STEPS_COUNT, + }; +#endif + }; struct DebugAO_PS { void Create(DevicePointer Device); void Release(DevicePointer Device); - PixelShader& Get(ShaderPermutations::ENABLE_BLUR A) + PixelShader& Get(ShaderPermutations::ENABLE_BLUR A, ShaderPermutations::NUM_STEPS B) { - return m_Shader[A]; + return m_Shader[A][B]; } private: - PixelShader m_Shader[ShaderPermutations::ENABLE_BLUR_COUNT]; + PixelShader m_Shader[ShaderPermutations::ENABLE_BLUR_COUNT][ShaderPermutations::NUM_STEPS_COUNT]; #if _WIN32 static_assert(ShaderPermutations::ENABLE_BLUR_COUNT == 2, ""); + static_assert(ShaderPermutations::NUM_STEPS_COUNT == 2, ""); #endif }; |