summaryrefslogtreecommitdiff
path: root/src/video_core/textures/astc.h
diff options
context:
space:
mode:
authorGravatar bunnei2018-06-17 23:50:44 -0400
committerGravatar bunnei2018-06-18 01:56:59 -0400
commit61779fa072fea906410eca3e29ba54fe1ee347d3 (patch)
treecf52473bbca8d54e6edfddf28d874d8a1e50856b /src/video_core/textures/astc.h
parentMerge pull request #569 from bunnei/fix-cache (diff)
downloadyuzu-61779fa072fea906410eca3e29ba54fe1ee347d3.tar.gz
yuzu-61779fa072fea906410eca3e29ba54fe1ee347d3.tar.xz
yuzu-61779fa072fea906410eca3e29ba54fe1ee347d3.zip
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.h15
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 @@
1// Copyright 2018 yuzu Emulator Project
2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included.
4
5#pragma once
6
7#include <cstdint>
8#include <vector>
9
10namespace Tegra::Texture::ASTC {
11
12std::vector<uint8_t> Decompress(std::vector<uint8_t>& data, uint32_t width, uint32_t height,
13 uint32_t block_width, uint32_t block_height);
14
15} // namespace Tegra::Texture::ASTC