diff options
| author | 2018-10-23 23:51:13 -0400 | |
|---|---|---|
| committer | 2018-10-23 23:51:13 -0400 | |
| commit | 257b7bbfee47b0d2dab058593774d1caeb56f22b (patch) | |
| tree | 15927c2f7ace72082c0cc4750e14bd2ff4e3cc2c /src | |
| parent | maxwell_3d: Remove unused variable within ProcessQueryGet() (diff) | |
| download | yuzu-257b7bbfee47b0d2dab058593774d1caeb56f22b.tar.gz yuzu-257b7bbfee47b0d2dab058593774d1caeb56f22b.tar.xz yuzu-257b7bbfee47b0d2dab058593774d1caeb56f22b.zip | |
decoders: Remove unused variable within SwizzledData()
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/textures/decoders.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video_core/textures/decoders.cpp b/src/video_core/textures/decoders.cpp index f1b40e7f5..da7989db9 100644 --- a/src/video_core/textures/decoders.cpp +++ b/src/video_core/textures/decoders.cpp | |||
| @@ -142,7 +142,6 @@ void SwizzledData(u8* swizzled_data, u8* unswizzled_data, const bool unswizzle, | |||
| 142 | const u32 blocks_on_x = div_ceil(width, block_x_elements); | 142 | const u32 blocks_on_x = div_ceil(width, block_x_elements); |
| 143 | const u32 blocks_on_y = div_ceil(height, block_y_elements); | 143 | const u32 blocks_on_y = div_ceil(height, block_y_elements); |
| 144 | const u32 blocks_on_z = div_ceil(depth, block_z_elements); | 144 | const u32 blocks_on_z = div_ceil(depth, block_z_elements); |
| 145 | const u32 blocks = blocks_on_x * blocks_on_y * blocks_on_z; | ||
| 146 | const u32 gob_size = gob_x_bytes * gob_elements_y * gob_elements_z; | 145 | const u32 gob_size = gob_x_bytes * gob_elements_y * gob_elements_z; |
| 147 | const u32 xy_block_size = gob_size * block_height; | 146 | const u32 xy_block_size = gob_size * block_height; |
| 148 | const u32 block_size = xy_block_size * block_depth; | 147 | const u32 block_size = xy_block_size * block_depth; |