diff options
author | bunnei <bunneidev@gmail.com> | 2020-04-23 08:18:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-23 08:18:52 +0200 |
commit | 2409fedacfeb36dd36f1d815f58a5834eb6f0504 (patch) | |
tree | b9253bfc4098fc9c366c6c82f3d2a0bb73fe0b85 /src/video_core/textures/decoders.cpp | |
parent | Merge pull request #3677 from FernandoS27/better-sync (diff) | |
parent | CMakeLists: Make missing declarations a compile-time error (diff) | |
download | yuzu-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/textures/decoders.cpp')
-rw-r--r-- | src/video_core/textures/decoders.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/textures/decoders.cpp b/src/video_core/textures/decoders.cpp index 7df5f1452..fae8638ec 100644 --- a/src/video_core/textures/decoders.cpp +++ b/src/video_core/textures/decoders.cpp @@ -11,6 +11,7 @@ #include "video_core/textures/texture.h" namespace Tegra::Texture { +namespace { /** * This table represents the internal swizzle of a gob, @@ -174,6 +175,8 @@ void SwizzledData(u8* const swizzled_data, u8* const unswizzled_data, const bool } } +} // Anonymous namespace + void CopySwizzledData(u32 width, u32 height, u32 depth, u32 bytes_per_pixel, u32 out_bytes_per_pixel, u8* const swizzled_data, u8* const unswizzled_data, bool unswizzle, u32 block_height, u32 block_depth, u32 width_spacing) { |