diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-04-16 03:06:04 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-04-16 03:22:16 +0200 |
commit | bec28d692d21a42f17ae26f0ab6271aca1c233cd (patch) | |
tree | c776ad716389b6113b76cd058e0c236c6697f7a2 /src/video_core/textures/decoders.h | |
parent | Correct Kepler Memory on Linear Pushes. (diff) | |
download | yuzu-bec28d692d21a42f17ae26f0ab6271aca1c233cd.tar yuzu-bec28d692d21a42f17ae26f0ab6271aca1c233cd.tar.gz yuzu-bec28d692d21a42f17ae26f0ab6271aca1c233cd.tar.bz2 yuzu-bec28d692d21a42f17ae26f0ab6271aca1c233cd.tar.lz yuzu-bec28d692d21a42f17ae26f0ab6271aca1c233cd.tar.xz yuzu-bec28d692d21a42f17ae26f0ab6271aca1c233cd.tar.zst yuzu-bec28d692d21a42f17ae26f0ab6271aca1c233cd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/textures/decoders.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/textures/decoders.h b/src/video_core/textures/decoders.h index e078fa274..21d4b37fc 100644 --- a/src/video_core/textures/decoders.h +++ b/src/video_core/textures/decoders.h @@ -51,4 +51,7 @@ void UnswizzleSubrect(u32 subrect_width, u32 subrect_height, u32 dest_pitch, u32 u32 bytes_per_pixel, u8* swizzled_data, u8* unswizzled_data, u32 block_height, u32 offset_x, u32 offset_y); +void SwizzleKepler(u32 width, u32 height, u32 dst_x, u32 dst_y, u32 block_height, + std::size_t copy_size, u8* source_data, u8* swizzle_data); + } // namespace Tegra::Texture |