summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures/decoders.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-07-30 06:38:44 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-08-11 01:45:03 +0200
commitf00641459e773636584c524143a3e05446ee296c (patch)
treefa6b31c0cbc7d52b8ac06ce6309d635bc2d0be45 /src/video_core/textures/decoders.h
parentMerge pull request #4496 from lioncash/ce-desig (diff)
downloadyuzu-f00641459e773636584c524143a3e05446ee296c.tar
yuzu-f00641459e773636584c524143a3e05446ee296c.tar.gz
yuzu-f00641459e773636584c524143a3e05446ee296c.tar.bz2
yuzu-f00641459e773636584c524143a3e05446ee296c.tar.lz
yuzu-f00641459e773636584c524143a3e05446ee296c.tar.xz
yuzu-f00641459e773636584c524143a3e05446ee296c.tar.zst
yuzu-f00641459e773636584c524143a3e05446ee296c.zip
Diffstat (limited to 'src/video_core/textures/decoders.h')
-rw-r--r--src/video_core/textures/decoders.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/textures/decoders.h b/src/video_core/textures/decoders.h
index d6fe35d37..01e156bc8 100644
--- a/src/video_core/textures/decoders.h
+++ b/src/video_core/textures/decoders.h
@@ -48,9 +48,8 @@ void SwizzleSubrect(u32 subrect_width, u32 subrect_height, u32 source_pitch, u32
u32 block_height_bit, u32 offset_x, u32 offset_y);
/// Copies a tiled subrectangle into a linear surface.
-void UnswizzleSubrect(u32 subrect_width, u32 subrect_height, u32 dest_pitch, u32 swizzled_width,
- u32 bytes_per_pixel, u8* swizzled_data, u8* unswizzled_data, u32 block_height,
- u32 offset_x, u32 offset_y);
+void UnswizzleSubrect(u32 line_length_in, u32 line_count, u32 pitch, u32 width, u32 bytes_per_pixel,
+ u32 block_height, u32 origin_x, u32 origin_y, u8* output, const u8* input);
/// @brief Swizzles a 2D array of pixels into a 3D texture
/// @param line_length_in Number of pixels per line