diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-04-16 12:00:46 -0400 |
|---|---|---|
| committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-04-16 12:00:46 -0400 |
| commit | da91e6e4b6aabe13f7b748930de8afa28d10aa6c (patch) | |
| tree | 8993c0ad56415b7e8a2df007d30db67fff12fa9f /src/video_core/textures/decoders.h | |
| parent | 3e96c367bd1729d1a6c8bfd8b532301da85d4b5a (diff) | |
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.h | 5 |
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 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); +void SwizzleKepler(const u32 width, const u32 height, const u32 dst_x, const u32 dst_y, + const u32 block_height, const std::size_t copy_size, const u8* source_data, + u8* swizzle_data); } // namespace Tegra::Texture |
