diff options
author | bunnei <bunneidev@gmail.com> | 2020-07-21 06:13:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-21 06:13:04 +0200 |
commit | 3d13d7f48f3bf7c1fb7b7673e963aa3e54db2838 (patch) | |
tree | 3214c882ce18526a3e57223ae96f06e7083369f2 /src/video_core/textures/decoders.h | |
parent | Merge pull request #4168 from ReinUsesLisp/global-memory (diff) | |
parent | video_core: Rearrange pixel format names (diff) | |
download | yuzu-3d13d7f48f3bf7c1fb7b7673e963aa3e54db2838.tar yuzu-3d13d7f48f3bf7c1fb7b7673e963aa3e54db2838.tar.gz yuzu-3d13d7f48f3bf7c1fb7b7673e963aa3e54db2838.tar.bz2 yuzu-3d13d7f48f3bf7c1fb7b7673e963aa3e54db2838.tar.lz yuzu-3d13d7f48f3bf7c1fb7b7673e963aa3e54db2838.tar.xz yuzu-3d13d7f48f3bf7c1fb7b7673e963aa3e54db2838.tar.zst yuzu-3d13d7f48f3bf7c1fb7b7673e963aa3e54db2838.zip |
Diffstat (limited to 'src/video_core/textures/decoders.h')
-rw-r--r-- | src/video_core/textures/decoders.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/video_core/textures/decoders.h b/src/video_core/textures/decoders.h index 232b696b3..d6fe35d37 100644 --- a/src/video_core/textures/decoders.h +++ b/src/video_core/textures/decoders.h @@ -38,10 +38,6 @@ void CopySwizzledData(u32 width, u32 height, u32 depth, u32 bytes_per_pixel, u32 out_bytes_per_pixel, u8* swizzled_data, u8* unswizzled_data, bool unswizzle, u32 block_height, u32 block_depth, u32 width_spacing); -/// Decodes an unswizzled texture into a A8R8G8B8 texture. -std::vector<u8> DecodeTexture(const std::vector<u8>& texture_data, TextureFormat format, u32 width, - u32 height); - /// This function calculates the correct size of a texture depending if it's tiled or not. std::size_t CalculateSize(bool tiled, u32 bytes_per_pixel, u32 width, u32 height, u32 depth, u32 block_height, u32 block_depth); |