Implement Block Linear copies in Kepler Memory.

This commit is contained in:
Fernando Sahmkow 2019-04-15 21:06:04 -04:00 committed by FernandoS27
parent 8a099ac99f
commit bec28d692d
3 changed files with 38 additions and 5 deletions

View file

@ -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