summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMai M <mathew1800@gmail.com>2022-03-27 18:36:19 +0200
committerGitHub <noreply@github.com>2022-03-27 18:36:19 +0200
commit7382e7a5c811ec8ed4270818dcfe8bba357973b2 (patch)
tree549fc37720cd23b66cc37ae6dbeb17a51e7f86dd /src
parentMerge pull request #8088 from bunnei/fixup-nvflinger (diff)
parentInclude <bit> header when std::count{r,l}_zero is used (diff)
downloadyuzu-7382e7a5c811ec8ed4270818dcfe8bba357973b2.tar
yuzu-7382e7a5c811ec8ed4270818dcfe8bba357973b2.tar.gz
yuzu-7382e7a5c811ec8ed4270818dcfe8bba357973b2.tar.bz2
yuzu-7382e7a5c811ec8ed4270818dcfe8bba357973b2.tar.lz
yuzu-7382e7a5c811ec8ed4270818dcfe8bba357973b2.tar.xz
yuzu-7382e7a5c811ec8ed4270818dcfe8bba357973b2.tar.zst
yuzu-7382e7a5c811ec8ed4270818dcfe8bba357973b2.zip
Diffstat (limited to 'src')
-rw-r--r--src/shader_recompiler/backend/spirv/emit_spirv_atomic.cpp2
-rw-r--r--src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp1
-rw-r--r--src/shader_recompiler/backend/spirv/spirv_emit_context.cpp1
3 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_atomic.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_atomic.cpp
index d3cbb14a9..cb47d253c 100644
--- a/src/shader_recompiler/backend/spirv/emit_spirv_atomic.cpp
+++ b/src/shader_recompiler/backend/spirv/emit_spirv_atomic.cpp
@@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#include <bit>
+
#include "shader_recompiler/backend/spirv/emit_spirv.h"
#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"
#include "shader_recompiler/backend/spirv/spirv_emit_context.h"
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp
index 3c2a5e16f..aa7082978 100644
--- a/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp
+++ b/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp
@@ -2,6 +2,7 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#include <bit>
#include <tuple>
#include <utility>
diff --git a/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp b/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
index 53be98ced..28f6a6184 100644
--- a/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
+++ b/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
@@ -4,6 +4,7 @@
#include <algorithm>
#include <array>
+#include <bit>
#include <climits>
#include <boost/container/static_vector.hpp>