diff options
| author | lbavoil <[email protected]> | 2016-03-25 13:01:54 +0100 |
|---|---|---|
| committer | lbavoil <[email protected]> | 2016-03-25 13:01:54 +0100 |
| commit | 99174e4e5fb4b7079da80b35a6dfd68f3fd56a1c (patch) | |
| tree | fbcd4260d6c953d569a887505336a1c3f202e10f /src/shaders/out/gl/CopyDepth_PS.h | |
| download | hbaoplus-99174e4e5fb4b7079da80b35a6dfd68f3fd56a1c.tar.xz hbaoplus-99174e4e5fb4b7079da80b35a6dfd68f3fd56a1c.zip | |
GFSDK_HBAO+_distro_r3.0_cl20573789
Diffstat (limited to 'src/shaders/out/gl/CopyDepth_PS.h')
| -rw-r--r-- | src/shaders/out/gl/CopyDepth_PS.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/shaders/out/gl/CopyDepth_PS.h b/src/shaders/out/gl/CopyDepth_PS.h new file mode 100644 index 0000000..533b3a6 --- /dev/null +++ b/src/shaders/out/gl/CopyDepth_PS.h @@ -0,0 +1,38 @@ +//! This file was auto-generated. Do not modify manually. +#pragma once + +namespace Generated +{ + +namespace ShaderPermutations +{ + +#ifndef RESOLVE_DEPTH_DEFINED +#define RESOLVE_DEPTH_DEFINED + enum RESOLVE_DEPTH + { + RESOLVE_DEPTH_0, + RESOLVE_DEPTH_1, + RESOLVE_DEPTH_COUNT, + }; +#endif + +}; + +struct CopyDepth_PS +{ + void Create(DevicePointer Device); + void Release(DevicePointer Device); + GLSLPrograms::CopyDepth_PS& Get(ShaderPermutations::RESOLVE_DEPTH A) + { + return m_Shader[A]; + } + +private: + GLSLPrograms::CopyDepth_PS m_Shader[ShaderPermutations::RESOLVE_DEPTH_COUNT]; +#if _WIN32 + static_assert(ShaderPermutations::RESOLVE_DEPTH_COUNT == 2, ""); +#endif +}; + +}; |