aboutsummaryrefslogtreecommitdiff
path: root/src/shaders/out/GL/LinearizeDepth_PS.h
blob: 7f2d16abb548de4c9b909c4261234e5ba3c6b440 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 LinearizeDepth_PS
{
    void Create(DevicePointer Device);
    void Release(DevicePointer Device);
    GLSLPrograms::LinearizeDepth_PS& Get(ShaderPermutations::RESOLVE_DEPTH A)
    {
        return m_Shader[A];
    }

private:
    GLSLPrograms::LinearizeDepth_PS m_Shader[ShaderPermutations::RESOLVE_DEPTH_COUNT];
#if _WIN32
    static_assert(ShaderPermutations::RESOLVE_DEPTH_COUNT == 2, "");
#endif
};

};