diff options
author | bunnei <bunneidev@gmail.com> | 2018-06-19 01:08:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-19 01:08:49 +0200 |
commit | 0e13d9cb7b04bee397f4f3ed7a02e78685b1b386 (patch) | |
tree | 54233bf2acf3985633c5f4389d0821d3962a189d /src/video_core/textures/astc.h | |
parent | Merge pull request #562 from DarkLordZach/extracted-ncas-ui (diff) | |
parent | gl_rasterizer: Implement texture format ASTC_2D_4X4. (diff) | |
download | yuzu-0e13d9cb7b04bee397f4f3ed7a02e78685b1b386.tar yuzu-0e13d9cb7b04bee397f4f3ed7a02e78685b1b386.tar.gz yuzu-0e13d9cb7b04bee397f4f3ed7a02e78685b1b386.tar.bz2 yuzu-0e13d9cb7b04bee397f4f3ed7a02e78685b1b386.tar.lz yuzu-0e13d9cb7b04bee397f4f3ed7a02e78685b1b386.tar.xz yuzu-0e13d9cb7b04bee397f4f3ed7a02e78685b1b386.tar.zst yuzu-0e13d9cb7b04bee397f4f3ed7a02e78685b1b386.zip |
Diffstat (limited to 'src/video_core/textures/astc.h')
-rw-r--r-- | src/video_core/textures/astc.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/video_core/textures/astc.h b/src/video_core/textures/astc.h new file mode 100644 index 000000000..f0d7c0e56 --- /dev/null +++ b/src/video_core/textures/astc.h @@ -0,0 +1,15 @@ +// Copyright 2018 yuzu Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include <cstdint> +#include <vector> + +namespace Tegra::Texture::ASTC { + +std::vector<uint8_t> Decompress(std::vector<uint8_t>& data, uint32_t width, uint32_t height, + uint32_t block_width, uint32_t block_height); + +} // namespace Tegra::Texture::ASTC |