diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-06-28 12:53:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-28 12:53:17 -0400 |
| commit | b60b70e86d7c32b06a7580ddc286279a83587e11 (patch) | |
| tree | ea6092ba2bda4b2f685926ba133faedd5c65fa57 /src/video_core/texture_cache/decode_bc.h | |
| parent | 0fe44071f8fc8c49fcd885e39f2e914846450733 (diff) | |
| parent | ddcc95833660c57647d3e99dad76ecfa3b86ee8d (diff) | |
Merge pull request #10837 from liamwhite/mali-support
android: Mali support
Diffstat (limited to 'src/video_core/texture_cache/decode_bc.h')
| -rw-r--r-- | src/video_core/texture_cache/decode_bc.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/decode_bc.h b/src/video_core/texture_cache/decode_bc.h new file mode 100644 index 000000000..41d1ec0a3 --- /dev/null +++ b/src/video_core/texture_cache/decode_bc.h @@ -0,0 +1,19 @@ +// 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 |
