aboutsummaryrefslogtreecommitdiff
path: root/src/shaders/out/D3D11/DebugAO_PS.h
blob: d7ae77c195a83b507ba023a5b106eb23ab6e2d95 (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
39
40
41
42
43
44
45
46
47
48
49
//! This file was auto-generated. Do not modify manually.
#pragma once

namespace Generated
{

namespace ShaderPermutations
{

#ifndef ENABLE_BLUR_DEFINED
#define ENABLE_BLUR_DEFINED
    enum ENABLE_BLUR
    {
        ENABLE_BLUR_0,
        ENABLE_BLUR_1,
        ENABLE_BLUR_COUNT,
    };
#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, ShaderPermutations::NUM_STEPS B)
    {
        return m_Shader[A][B];
    }

private:
    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
};

};