mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-30 10:42:47 +01:00
89c106e31b
Avoids dragging in a direct dependency in a header.
21 lines
No EOL
666 B
C++
21 lines
No EOL
666 B
C++
// Copyright 2019 yuzu Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "common/common_types.h"
|
|
|
|
namespace VideoCore::Surface {
|
|
enum class PixelFormat;
|
|
}
|
|
|
|
namespace Tegra::Texture {
|
|
|
|
void ConvertFromGuestToHost(u8* data, VideoCore::Surface::PixelFormat pixel_format, u32 width,
|
|
u32 height, u32 depth, bool convert_astc, bool convert_s8z24);
|
|
|
|
void ConvertFromHostToGuest(u8* data, VideoCore::Surface::PixelFormat pixel_format, u32 width,
|
|
u32 height, u32 depth, bool convert_astc, bool convert_s8z24);
|
|
|
|
} // namespace Tegra::Texture
|