summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-04-23 08:18:52 +0200
committerGitHub <noreply@github.com>2020-04-23 08:18:52 +0200
commit2409fedacfeb36dd36f1d815f58a5834eb6f0504 (patch)
treeb9253bfc4098fc9c366c6c82f3d2a0bb73fe0b85 /src/video_core/shader
parentMerge pull request #3677 from FernandoS27/better-sync (diff)
parentCMakeLists: Make missing declarations a compile-time error (diff)
downloadyuzu-2409fedacfeb36dd36f1d815f58a5834eb6f0504.tar
yuzu-2409fedacfeb36dd36f1d815f58a5834eb6f0504.tar.gz
yuzu-2409fedacfeb36dd36f1d815f58a5834eb6f0504.tar.bz2
yuzu-2409fedacfeb36dd36f1d815f58a5834eb6f0504.tar.lz
yuzu-2409fedacfeb36dd36f1d815f58a5834eb6f0504.tar.xz
yuzu-2409fedacfeb36dd36f1d815f58a5834eb6f0504.tar.zst
yuzu-2409fedacfeb36dd36f1d815f58a5834eb6f0504.zip
Diffstat (limited to 'src/video_core/shader')
-rw-r--r--src/video_core/shader/control_flow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/control_flow.cpp b/src/video_core/shader/control_flow.cpp
index 6d313963a..e00a3fb70 100644
--- a/src/video_core/shader/control_flow.cpp
+++ b/src/video_core/shader/control_flow.cpp
@@ -587,8 +587,6 @@ bool TryQuery(CFGRebuildState& state) {
return true;
}
-} // Anonymous namespace
-
void InsertBranch(ASTManager& mm, const BlockBranchInfo& branch_info) {
const auto get_expr = ([&](const Condition& cond) -> Expr {
Expr result{};
@@ -655,6 +653,8 @@ void DecompileShader(CFGRebuildState& state) {
state.manager->Decompile();
}
+} // Anonymous namespace
+
std::unique_ptr<ShaderCharacteristics> ScanFlow(const ProgramCode& program_code, u32 start_address,
const CompilerSettings& settings,
Registry& registry) {