mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-30 21:49:00 +02:00
textures: add BC1 and BC3 compressors and recompression setting
This commit is contained in:
parent
a51f148a04
commit
011dfe1db7
23 changed files with 1150 additions and 27 deletions
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue