summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures/astc.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-06-18 05:50:44 +0200
committerbunnei <bunneidev@gmail.com>2018-06-18 07:56:59 +0200
commit61779fa072fea906410eca3e29ba54fe1ee347d3 (patch)
treecf52473bbca8d54e6edfddf28d874d8a1e50856b /src/video_core/textures/astc.h
parentMerge pull request #569 from bunnei/fix-cache (diff)
downloadyuzu-61779fa072fea906410eca3e29ba54fe1ee347d3.tar
yuzu-61779fa072fea906410eca3e29ba54fe1ee347d3.tar.gz
yuzu-61779fa072fea906410eca3e29ba54fe1ee347d3.tar.bz2
yuzu-61779fa072fea906410eca3e29ba54fe1ee347d3.tar.lz
yuzu-61779fa072fea906410eca3e29ba54fe1ee347d3.tar.xz
yuzu-61779fa072fea906410eca3e29ba54fe1ee347d3.tar.zst
yuzu-61779fa072fea906410eca3e29ba54fe1ee347d3.zip
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 @@
+// 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