summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-06-14 02:06:38 +0200
committerGitHub <noreply@github.com>2022-06-14 02:06:38 +0200
commitbd3bfe411d8319b8300037a78c152ad7dab839f3 (patch)
tree81b97113ce3f9b4782020f741e14b3a29ecf06eb
parentMerge pull request #8388 from liamwhite/simpler-pause (diff)
parentstructured_control_flow: Remove constexpr Flow::Block (diff)
downloadyuzu-bd3bfe411d8319b8300037a78c152ad7dab839f3.tar
yuzu-bd3bfe411d8319b8300037a78c152ad7dab839f3.tar.gz
yuzu-bd3bfe411d8319b8300037a78c152ad7dab839f3.tar.bz2
yuzu-bd3bfe411d8319b8300037a78c152ad7dab839f3.tar.lz
yuzu-bd3bfe411d8319b8300037a78c152ad7dab839f3.tar.xz
yuzu-bd3bfe411d8319b8300037a78c152ad7dab839f3.tar.zst
yuzu-bd3bfe411d8319b8300037a78c152ad7dab839f3.zip
-rw-r--r--src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp b/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp
index 3dc7c9a11..578bc8c1b 100644
--- a/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp
+++ b/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp
@@ -975,13 +975,7 @@ private:
Environment& env;
IR::AbstractSyntaxList& syntax_list;
bool uses_demote_to_helper{};
-
-// TODO: C++20 Remove this when all compilers support constexpr std::vector
-#if __cpp_lib_constexpr_vector >= 201907
- static constexpr Flow::Block dummy_flow_block;
-#else
const Flow::Block dummy_flow_block;
-#endif
};
} // Anonymous namespace