mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-07-04 13:37:52 -05:00
textures: add BC1 and BC3 compressors and recompression setting
This commit is contained in:
17
src/video_core/textures/bcn.h
Normal file
17
src/video_core/textures/bcn.h
Normal file
@ -0,0 +1,17 @@
|
||||
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <span>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace Tegra::Texture::BCN {
|
||||
|
||||
void CompressBC1(std::span<const uint8_t> data, uint32_t width, uint32_t height, uint32_t depth,
|
||||
std::span<uint8_t> output);
|
||||
|
||||
void CompressBC3(std::span<const uint8_t> data, uint32_t width, uint32_t height, uint32_t depth,
|
||||
std::span<uint8_t> output);
|
||||
|
||||
} // namespace Tegra::Texture::BCN
|
Reference in New Issue
Block a user