summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures/astc.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-06-19 01:08:49 +0200
committerGitHub <noreply@github.com>2018-06-19 01:08:49 +0200
commit0e13d9cb7b04bee397f4f3ed7a02e78685b1b386 (patch)
tree54233bf2acf3985633c5f4389d0821d3962a189d /src/video_core/textures/astc.h
parentMerge pull request #562 from DarkLordZach/extracted-ncas-ui (diff)
parentgl_rasterizer: Implement texture format ASTC_2D_4X4. (diff)
downloadyuzu-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.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