Apply Const correctness to SwizzleKepler and replace u32 for size_t on iterators.
This commit is contained in:
parent
3e96c367bd
commit
da91e6e4b6
2 changed files with 12 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue