aboutsummaryrefslogtreecommitdiff
path: root/src/InputNormalInfo.h
diff options
context:
space:
mode:
authorlbavoil <[email protected]>2018-03-15 11:08:34 +0100
committerlbavoil <[email protected]>2018-03-15 11:08:34 +0100
commit636807e68a85a978473764d171ed0c7cc36f9be6 (patch)
tree784a3d4fa8f48b4c085dd959678505b2af12f425 /src/InputNormalInfo.h
parentRemove test folder (diff)
downloadhbaoplus-636807e68a85a978473764d171ed0c7cc36f9be6.tar.xz
hbaoplus-636807e68a85a978473764d171ed0c7cc36f9be6.zip
HBAO+ 4.0.0.23740451
Diffstat (limited to 'src/InputNormalInfo.h')
-rw-r--r--src/InputNormalInfo.h32
1 files changed, 1 insertions, 31 deletions
diff --git a/src/InputNormalInfo.h b/src/InputNormalInfo.h
index 4a96262..9e43365 100644
--- a/src/InputNormalInfo.h
+++ b/src/InputNormalInfo.h
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2008-2017, NVIDIA CORPORATION. All rights reserved.
+* Copyright (c) 2008-2018, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
@@ -95,35 +95,5 @@ struct InputNormalInfo
} // namespace D3D12
#endif
-//--------------------------------------------------------------------------------
-#if SUPPORT_GL
-namespace GL
-{
-
-struct InputNormalInfo
-{
- GFSDK_SSAO_Status SetData(const GFSDK_SSAO_GLFunctions& GL, const GFSDK_SSAO_InputNormalData_GL& NormalData)
- {
- if (!GFSDK::SSAO::GL::TextureUtil::HasValidTextureTarget(NormalData.FullResNormalTexture))
- {
- return GFSDK_SSAO_GL_INVALID_TEXTURE_TARGET;
- }
-
- if (!GFSDK::SSAO::WorldToViewMatrix::IsValid(NormalData.WorldToViewMatrix))
- {
- return GFSDK_SSAO_INVALID_WORLD_TO_VIEW_MATRIX;
- }
-
- Texture.Init(GL, NormalData.FullResNormalTexture);
-
- return GFSDK_SSAO_OK;
- }
-
- SSAO::GL::UserTexture Texture;
-};
-
-} // namespace GL
-#endif // SUPPORT_GL
-
} // namespace SSAO
} // namespace GFSDK