summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures/decoders.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-18 20:46:10 +0200
committerGitHub <noreply@github.com>2018-04-18 20:46:10 +0200
commitd3f9ea90e78dce585f23c71c969990439937b427 (patch)
tree618163c00bf621be9b7a44535493ceeaabd6257f /src/video_core/textures/decoders.h
parentMerge pull request #346 from bunnei/misc-gpu-improvements (diff)
parentGPU: Pitch textures are now supported, don't assert when encountering them. (diff)
downloadyuzu-d3f9ea90e78dce585f23c71c969990439937b427.tar
yuzu-d3f9ea90e78dce585f23c71c969990439937b427.tar.gz
yuzu-d3f9ea90e78dce585f23c71c969990439937b427.tar.bz2
yuzu-d3f9ea90e78dce585f23c71c969990439937b427.tar.lz
yuzu-d3f9ea90e78dce585f23c71c969990439937b427.tar.xz
yuzu-d3f9ea90e78dce585f23c71c969990439937b427.tar.zst
yuzu-d3f9ea90e78dce585f23c71c969990439937b427.zip
Diffstat (limited to 'src/video_core/textures/decoders.h')
-rw-r--r--src/video_core/textures/decoders.h3
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.