summaryrefslogtreecommitdiffstats
path: root/src/video_core/morton.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-03-15 02:23:12 +0100
committerGitHub <noreply@github.com>2019-03-15 02:23:12 +0100
commit84d3cdf7d76de538da6121e327d332809d46af84 (patch)
tree2f9ba463335b8de46310cc5f8ad81ecb3bd32ee8 /src/video_core/morton.h
parentMerge pull request #2229 from ReinUsesLisp/vk-sampler-cache (diff)
parentvideo_core/morton: Use enum to describe MortonCopyPixels128 mode (diff)
downloadyuzu-84d3cdf7d76de538da6121e327d332809d46af84.tar
yuzu-84d3cdf7d76de538da6121e327d332809d46af84.tar.gz
yuzu-84d3cdf7d76de538da6121e327d332809d46af84.tar.bz2
yuzu-84d3cdf7d76de538da6121e327d332809d46af84.tar.lz
yuzu-84d3cdf7d76de538da6121e327d332809d46af84.tar.xz
yuzu-84d3cdf7d76de538da6121e327d332809d46af84.tar.zst
yuzu-84d3cdf7d76de538da6121e327d332809d46af84.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 065f59ce3..b565204b5 100644
--- a/src/video_core/morton.h
+++ b/src/video_core/morton.h
@@ -13,9 +13,9 @@ 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, u32 tile_width_spacing,
- u8* buffer, std::size_t buffer_size, VAddr addr);
+ u8* buffer, 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);
+void MortonCopyPixels128(MortonSwizzleMode mode, u32 width, u32 height, u32 bytes_per_pixel,
+ u32 linear_bytes_per_pixel, u8* morton_data, u8* linear_data);
} // namespace VideoCore