summaryrefslogtreecommitdiffstats
path: root/src/video_core/morton.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-11-28 01:21:17 +0100
committerGitHub <noreply@github.com>2018-11-28 01:21:17 +0100
commit881f5ad70f8500035d6e22000d010b58bfbe93b7 (patch)
tree94984ecf8cfe2819ba262431a4ac0a0cb27f1d96 /src/video_core/morton.h
parentMerge pull request #1814 from lioncash/ptr (diff)
parentImplemented Tile Width Spacing (diff)
downloadyuzu-881f5ad70f8500035d6e22000d010b58bfbe93b7.tar
yuzu-881f5ad70f8500035d6e22000d010b58bfbe93b7.tar.gz
yuzu-881f5ad70f8500035d6e22000d010b58bfbe93b7.tar.bz2
yuzu-881f5ad70f8500035d6e22000d010b58bfbe93b7.tar.lz
yuzu-881f5ad70f8500035d6e22000d010b58bfbe93b7.tar.xz
yuzu-881f5ad70f8500035d6e22000d010b58bfbe93b7.tar.zst
yuzu-881f5ad70f8500035d6e22000d010b58bfbe93b7.zip
Diffstat (limited to 'src/video_core/morton.h')
-rw-r--r--src/video_core/morton.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/morton.h b/src/video_core/morton.h
index b9b9eca86..065f59ce3 100644
--- a/src/video_core/morton.h
+++ b/src/video_core/morton.h
@@ -12,10 +12,10 @@ namespace VideoCore {
enum class MortonSwizzleMode { MortonToLinear, LinearToMorton };
void MortonSwizzle(MortonSwizzleMode mode, VideoCore::Surface::PixelFormat format, u32 stride,
- u32 block_height, u32 height, u32 block_depth, u32 depth, u8* buffer,
- std::size_t buffer_size, VAddr addr);
+ u32 block_height, u32 height, u32 block_depth, u32 depth, u32 tile_width_spacing,
+ u8* buffer, std::size_t buffer_size, VAddr addr);
void MortonCopyPixels128(u32 width, u32 height, u32 bytes_per_pixel, u32 linear_bytes_per_pixel,
u8* morton_data, u8* linear_data, bool morton_to_linear);
-} // namespace VideoCore \ No newline at end of file
+} // namespace VideoCore