mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-17 20:32:45 +01:00
26 lines
769 B
C++
26 lines
769 B
C++
// Copyright 2019 yuzu Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#include "video_core/shader/compiler_settings.h"
|
|
|
|
namespace VideoCommon::Shader {
|
|
|
|
std::string CompileDepthAsString(const CompileDepth cd) {
|
|
switch (cd) {
|
|
case CompileDepth::BruteForce:
|
|
return "Brute Force Compile";
|
|
case CompileDepth::FlowStack:
|
|
return "Simple Flow Stack Mode";
|
|
case CompileDepth::NoFlowStack:
|
|
return "Remove Flow Stack";
|
|
case CompileDepth::DecompileBackwards:
|
|
return "Decompile Backward Jumps";
|
|
case CompileDepth::FullDecompile:
|
|
return "Full Decompilation";
|
|
default:
|
|
return "Unknown Compiler Process";
|
|
}
|
|
}
|
|
|
|
} // namespace VideoCommon::Shader
|