summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures/decoders.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-04-17 04:43:33 +0200
committerLioncash <mathew1800@gmail.com>2020-04-17 05:43:34 +0200
commite2d8be1ca2cee27eb17964dd99c71dfd12431506 (patch)
treea1b92b6e3979373c1fb034e012fb1e9051ecf3db /src/video_core/textures/decoders.cpp
parentCMakeLists: Enable -Wmissing-declarations on Linux builds (diff)
downloadyuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.tar
yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.tar.gz
yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.tar.bz2
yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.tar.lz
yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.tar.xz
yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.tar.zst
yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.zip
Diffstat (limited to 'src/video_core/textures/decoders.cpp')
-rw-r--r--src/video_core/textures/decoders.cpp3
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) {