diff options
| author | bunnei <bunneidev@gmail.com> | 2018-06-18 19:08:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-18 19:08:49 -0400 |
| commit | 0e13d9cb7b04bee397f4f3ed7a02e78685b1b386 (patch) | |
| tree | 54233bf2acf3985633c5f4389d0821d3962a189d /src/video_core/textures/astc.h | |
| parent | c11cfaa70543094efe9cbb493843546dfa0fa6cf (diff) | |
| parent | 61779fa072fea906410eca3e29ba54fe1ee347d3 (diff) | |
Merge pull request #570 from bunnei/astc
gl_rasterizer: Implement texture format ASTC_2D_4X4.
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 |
