diff options
author | bunnei <bunneidev@gmail.com> | 2022-03-22 02:03:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-22 02:03:54 +0100 |
commit | 82ac66f8a47f32ac530bcacbe375a52ccdc455c7 (patch) | |
tree | 5ea8479db76c8282b9b41142c6912080c17414e8 /src/video_core/textures | |
parent | Merge pull request #7812 from FernandoS27/made-straight-from-the-nut (diff) | |
parent | general: Fix clang/gcc build errors (diff) | |
download | yuzu-82ac66f8a47f32ac530bcacbe375a52ccdc455c7.tar yuzu-82ac66f8a47f32ac530bcacbe375a52ccdc455c7.tar.gz yuzu-82ac66f8a47f32ac530bcacbe375a52ccdc455c7.tar.bz2 yuzu-82ac66f8a47f32ac530bcacbe375a52ccdc455c7.tar.lz yuzu-82ac66f8a47f32ac530bcacbe375a52ccdc455c7.tar.xz yuzu-82ac66f8a47f32ac530bcacbe375a52ccdc455c7.tar.zst yuzu-82ac66f8a47f32ac530bcacbe375a52ccdc455c7.zip |
Diffstat (limited to 'src/video_core/textures')
-rw-r--r-- | src/video_core/textures/astc.cpp | 1 | ||||
-rw-r--r-- | src/video_core/textures/astc.h | 3 | ||||
-rw-r--r-- | src/video_core/textures/decoders.cpp | 2 | ||||
-rw-r--r-- | src/video_core/textures/texture.cpp | 1 |
4 files changed, 1 insertions, 6 deletions
diff --git a/src/video_core/textures/astc.cpp b/src/video_core/textures/astc.cpp index 25161df1f..28e4beafd 100644 --- a/src/video_core/textures/astc.cpp +++ b/src/video_core/textures/astc.cpp @@ -16,6 +16,7 @@ // <http://gamma.cs.unc.edu/FasTC/> #include <algorithm> +#include <bit> #include <cassert> #include <cstring> #include <span> diff --git a/src/video_core/textures/astc.h b/src/video_core/textures/astc.h index 14d2beec0..564ae1e36 100644 --- a/src/video_core/textures/astc.h +++ b/src/video_core/textures/astc.h @@ -4,9 +4,6 @@ #pragma once -#include <bit> -#include "common/common_types.h" - namespace Tegra::Texture::ASTC { void Decompress(std::span<const uint8_t> data, uint32_t width, uint32_t height, uint32_t depth, diff --git a/src/video_core/textures/decoders.cpp b/src/video_core/textures/decoders.cpp index 24e943e4c..6dae23049 100644 --- a/src/video_core/textures/decoders.cpp +++ b/src/video_core/textures/decoders.cpp @@ -6,7 +6,6 @@ #include <cmath> #include <cstring> #include <span> -#include <utility> #include "common/alignment.h" #include "common/assert.h" @@ -14,7 +13,6 @@ #include "common/div_ceil.h" #include "video_core/gpu.h" #include "video_core/textures/decoders.h" -#include "video_core/textures/texture.h" namespace Tegra::Texture { namespace { diff --git a/src/video_core/textures/texture.cpp b/src/video_core/textures/texture.cpp index 06954963d..f56b4b9f9 100644 --- a/src/video_core/textures/texture.cpp +++ b/src/video_core/textures/texture.cpp @@ -2,7 +2,6 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. -#include <algorithm> #include <array> #include "common/cityhash.h" |