summaryrefslogtreecommitdiffstats
path: root/src/video_core/utils.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-05-23 23:28:39 +0200
committerLioncash <mathew1800@gmail.com>2015-05-23 23:28:39 +0200
commit513f6a277e0261b1a4d336daeac1133db46213ab (patch)
treed6f268517918f33c2cb1fa503a46a74e04313dca /src/video_core/utils.h
parentMerge pull request #806 from yuriks/annoying-qt-warning (diff)
parentgl_state: Remove unnecessary const specifier on Apply (diff)
downloadyuzu-513f6a277e0261b1a4d336daeac1133db46213ab.tar
yuzu-513f6a277e0261b1a4d336daeac1133db46213ab.tar.gz
yuzu-513f6a277e0261b1a4d336daeac1133db46213ab.tar.bz2
yuzu-513f6a277e0261b1a4d336daeac1133db46213ab.tar.lz
yuzu-513f6a277e0261b1a4d336daeac1133db46213ab.tar.xz
yuzu-513f6a277e0261b1a4d336daeac1133db46213ab.tar.zst
yuzu-513f6a277e0261b1a4d336daeac1133db46213ab.zip
Diffstat (limited to 'src/video_core/utils.h')
-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);