2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

video_core/utils: Remove unused variables in GetMortonOffset

This commit is contained in:
Lioncash 2015-05-23 00:38:37 -04:00
parent 1c21354159
commit dc587fa295

View file

@ -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. // 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 block_height = 8;
const unsigned int coarse_x = x & ~7; const unsigned int coarse_x = x & ~7;
const unsigned int coarse_y = y & ~7;
u32 i = VideoCore::MortonInterleave(x, y); u32 i = VideoCore::MortonInterleave(x, y);