mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-14 08:37:00 +02:00
gl_rasterizer_cache: Move format conversion to its own file
This commit is contained in:
parent
0ccd490fcd
commit
0ad3c031f4
7 changed files with 175 additions and 136 deletions
18
src/video_core/textures/convert.h
Normal file
18
src/video_core/textures/convert.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
// 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"
|
||||
#include "video_core/surface.h"
|
||||
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue