summaryrefslogtreecommitdiff
path: root/src/video_core/textures/decoders.h
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-04-16 12:00:46 -0400
committerGravatar Fernando Sahmkow2019-04-16 12:00:46 -0400
commitda91e6e4b6aabe13f7b748930de8afa28d10aa6c (patch)
tree8993c0ad56415b7e8a2df007d30db67fff12fa9f /src/video_core/textures/decoders.h
parentUse WriteBlock and ReadBlock. (diff)
downloadyuzu-da91e6e4b6aabe13f7b748930de8afa28d10aa6c.tar.gz
yuzu-da91e6e4b6aabe13f7b748930de8afa28d10aa6c.tar.xz
yuzu-da91e6e4b6aabe13f7b748930de8afa28d10aa6c.zip
Apply Const correctness to SwizzleKepler and replace u32 for size_t on iterators.
Diffstat (limited to 'src/video_core/textures/decoders.h')
-rw-r--r--src/video_core/textures/decoders.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/textures/decoders.h b/src/video_core/textures/decoders.h
index 21d4b37fc..e072d8401 100644
--- a/src/video_core/textures/decoders.h
+++ b/src/video_core/textures/decoders.h
@@ -51,7 +51,8 @@ void UnswizzleSubrect(u32 subrect_width, u32 subrect_height, u32 dest_pitch, u32
51 u32 bytes_per_pixel, u8* swizzled_data, u8* unswizzled_data, u32 block_height, 51 u32 bytes_per_pixel, u8* swizzled_data, u8* unswizzled_data, u32 block_height,
52 u32 offset_x, u32 offset_y); 52 u32 offset_x, u32 offset_y);
53 53
54void SwizzleKepler(u32 width, u32 height, u32 dst_x, u32 dst_y, u32 block_height, 54void SwizzleKepler(const u32 width, const u32 height, const u32 dst_x, const u32 dst_y,
55 std::size_t copy_size, u8* source_data, u8* swizzle_data); 55 const u32 block_height, const std::size_t copy_size, const u8* source_data,
56 u8* swizzle_data);
56 57
57} // namespace Tegra::Texture 58} // namespace Tegra::Texture