Include <bit> header when std::count{r,l}_zero is used

Needed for compilation with older libc++ releases
pull/8/head
Billy Laws 3 years ago
parent f83cd2e8b9
commit dd862dff66

@ -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"

@ -2,6 +2,7 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <bit>
#include <tuple>
#include <utility>

@ -4,6 +4,7 @@
#include <algorithm>
#include <array>
#include <bit>
#include <climits>
#include <boost/container/static_vector.hpp>

Loading…
Cancel
Save