mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-06-02 19:28:27 -04:00
20 lines
544 B
C++
20 lines
544 B
C++
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <span>
|
|
|
|
#include "common/common_types.h"
|
|
#include "video_core/surface.h"
|
|
#include "video_core/texture_cache/types.h"
|
|
|
|
namespace VideoCommon {
|
|
|
|
[[nodiscard]] u32 ConvertedBytesPerBlock(VideoCore::Surface::PixelFormat pixel_format);
|
|
|
|
void DecompressBCn(std::span<const u8> input, std::span<u8> output, Extent3D extent,
|
|
VideoCore::Surface::PixelFormat pixel_format);
|
|
|
|
} // namespace VideoCommon
|