From 415c78b87c008f0d963679ea9bc06c8aa566b506 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 20 May 2023 17:15:36 -0400 Subject: textures: add BC1 and BC3 compressors and recompression setting --- src/video_core/textures/bcn.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/video_core/textures/bcn.h (limited to 'src/video_core/textures/bcn.h') diff --git a/src/video_core/textures/bcn.h b/src/video_core/textures/bcn.h new file mode 100644 index 000000000..6464af885 --- /dev/null +++ b/src/video_core/textures/bcn.h @@ -0,0 +1,17 @@ +// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include +#include + +namespace Tegra::Texture::BCN { + +void CompressBC1(std::span data, uint32_t width, uint32_t height, uint32_t depth, + std::span output); + +void CompressBC3(std::span data, uint32_t width, uint32_t height, uint32_t depth, + std::span output); + +} // namespace Tegra::Texture::BCN -- cgit v1.2.3