diff options
| author | 2015-05-23 00:38:37 -0400 | |
|---|---|---|
| committer | 2015-05-23 00:38:37 -0400 | |
| commit | dc587fa295a9edec10f8aaafd4fcb686312b4d75 (patch) | |
| tree | 9d8aac5a08854d6056546b4b48dd67bf39614050 /src | |
| parent | Merge pull request #804 from lioncash/dclean (diff) | |
| download | yuzu-dc587fa295a9edec10f8aaafd4fcb686312b4d75.tar.gz yuzu-dc587fa295a9edec10f8aaafd4fcb686312b4d75.tar.xz yuzu-dc587fa295a9edec10f8aaafd4fcb686312b4d75.zip | |
video_core/utils: Remove unused variables in GetMortonOffset
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/utils.h | 3 |
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) { | |||
| 72 | // | 72 | // |
| 73 | // This pattern is what's called Z-order curve, or Morton order. | 73 | // This pattern is what's called Z-order curve, or Morton order. |
| 74 | 74 | ||
| 75 | const unsigned int block_width = 8; | ||
| 76 | const unsigned int block_height = 8; | 75 | const unsigned int block_height = 8; |
| 77 | |||
| 78 | const unsigned int coarse_x = x & ~7; | 76 | const unsigned int coarse_x = x & ~7; |
| 79 | const unsigned int coarse_y = y & ~7; | ||
| 80 | 77 | ||
| 81 | u32 i = VideoCore::MortonInterleave(x, y); | 78 | u32 i = VideoCore::MortonInterleave(x, y); |
| 82 | 79 | ||