diff options
| author | 2018-10-24 16:28:38 -0400 | |
|---|---|---|
| committer | 2018-10-24 16:28:38 -0400 | |
| commit | 2eff8336f426aa5e41a9f2baa60cc96c9930f7dd (patch) | |
| tree | a576847289e88588d7129f4aff48d7c49b9ab68b /src/video_core/textures/decoders.cpp | |
| parent | Merge pull request #1561 from lioncash/fs (diff) | |
| parent | decoders: Remove unused variable within SwizzledData() (diff) | |
| download | yuzu-2eff8336f426aa5e41a9f2baa60cc96c9930f7dd.tar.gz yuzu-2eff8336f426aa5e41a9f2baa60cc96c9930f7dd.tar.xz yuzu-2eff8336f426aa5e41a9f2baa60cc96c9930f7dd.zip | |
Merge pull request #1560 from lioncash/unused
maxwell_3d/decoders: Remove unused variables
Diffstat (limited to 'src/video_core/textures/decoders.cpp')
| -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; |