diff options
author | Subv <subv2112@gmail.com> | 2018-04-16 02:53:15 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-04-18 19:52:51 +0200 |
commit | 6b63aaa5b4f55621117e27c6b80979908c255e75 (patch) | |
tree | 14ea1f2ecd3c195867f22a4ae6e68626d13e2dd7 /src/video_core/textures/decoders.h | |
parent | GPU/TIC: Added the pitch and block height fields to the TIC structure. (diff) | |
download | yuzu-6b63aaa5b4f55621117e27c6b80979908c255e75.tar yuzu-6b63aaa5b4f55621117e27c6b80979908c255e75.tar.gz yuzu-6b63aaa5b4f55621117e27c6b80979908c255e75.tar.bz2 yuzu-6b63aaa5b4f55621117e27c6b80979908c255e75.tar.lz yuzu-6b63aaa5b4f55621117e27c6b80979908c255e75.tar.xz yuzu-6b63aaa5b4f55621117e27c6b80979908c255e75.tar.zst yuzu-6b63aaa5b4f55621117e27c6b80979908c255e75.zip |
Diffstat (limited to 'src/video_core/textures/decoders.h')
-rw-r--r-- | src/video_core/textures/decoders.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/textures/decoders.h b/src/video_core/textures/decoders.h index 0c21694ff..a700911cf 100644 --- a/src/video_core/textures/decoders.h +++ b/src/video_core/textures/decoders.h @@ -14,7 +14,8 @@ namespace Texture { /** * Unswizzles a swizzled texture without changing its format. */ -std::vector<u8> UnswizzleTexture(VAddr address, TextureFormat format, u32 width, u32 height); +std::vector<u8> UnswizzleTexture(VAddr address, TextureFormat format, u32 width, u32 height, + u32 block_height = TICEntry::DefaultBlockHeight); /** * Decodes an unswizzled texture into a A8R8G8B8 texture. |