diff options
Diffstat (limited to 'src/shaders/out/d3d11/CopyDepth_PS.h')
| -rw-r--r-- | src/shaders/out/d3d11/CopyDepth_PS.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/shaders/out/d3d11/CopyDepth_PS.h b/src/shaders/out/d3d11/CopyDepth_PS.h new file mode 100644 index 0000000..b3000a4 --- /dev/null +++ b/src/shaders/out/d3d11/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); + PixelShader& Get(ShaderPermutations::RESOLVE_DEPTH A) + { + return m_Shader[A]; + } + +private: + PixelShader m_Shader[ShaderPermutations::RESOLVE_DEPTH_COUNT]; +#if _WIN32 + static_assert(ShaderPermutations::RESOLVE_DEPTH_COUNT == 2, ""); +#endif +}; + +}; |