summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-05-23 06:38:37 +0200
committerLioncash <mathew1800@gmail.com>2015-05-23 06:38:37 +0200
commitdc587fa295a9edec10f8aaafd4fcb686312b4d75 (patch)
tree9d8aac5a08854d6056546b4b48dd67bf39614050 /src/video_core
parentMerge pull request #804 from lioncash/dclean (diff)
downloadyuzu-dc587fa295a9edec10f8aaafd4fcb686312b4d75.tar
yuzu-dc587fa295a9edec10f8aaafd4fcb686312b4d75.tar.gz
yuzu-dc587fa295a9edec10f8aaafd4fcb686312b4d75.tar.bz2
yuzu-dc587fa295a9edec10f8aaafd4fcb686312b4d75.tar.lz
yuzu-dc587fa295a9edec10f8aaafd4fcb686312b4d75.tar.xz
yuzu-dc587fa295a9edec10f8aaafd4fcb686312b4d75.tar.zst
yuzu-dc587fa295a9edec10f8aaafd4fcb686312b4d75.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/utils.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/video_core/utils.h b/src/video_core/utils.h
index ffb3e73a3..4fa60a10e 100644
--- a/src/video_core/utils.h
+++ b/src/video_core/utils.h
@@ -72,11 +72,8 @@ static inline u32 GetMortonOffset(u32 x, u32 y, u32 bytes_per_pixel) {
//
// This pattern is what's called Z-order curve, or Morton order.
- const unsigned int block_width = 8;
const unsigned int block_height = 8;
-
const unsigned int coarse_x = x & ~7;
- const unsigned int coarse_y = y & ~7;
u32 i = VideoCore::MortonInterleave(x, y);