summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/compiler_settings.h
blob: e1fb5bc3a4832e89cc83392ec6fcd478a67021ce (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
// Copyright 2019 yuzu Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#pragma once

#include "video_core/engines/shader_bytecode.h"

namespace VideoCommon::Shader {

enum class CompileDepth : u32 {
    BruteForce = 0,
    FlowStack = 1,
    NoFlowStack = 2,
    DecompileBackwards = 3,
    FullDecompile = 4,
};

std::string CompileDepthAsString(CompileDepth cd);

struct CompilerSettings {
    CompileDepth depth;
};

} // namespace VideoCommon::Shader