diff options
| author | 2019-02-23 22:45:47 -0300 | |
|---|---|---|
| committer | 2019-02-26 20:08:27 -0300 | |
| commit | 0ad3c031f4f0e1db16e271ed1329e2c4bad33e10 (patch) | |
| tree | aaa115aafde8dbd657453317e698d62c72d07df8 /src/video_core/textures/decoders.cpp | |
| parent | decoders: Minor style changes (diff) | |
| download | yuzu-0ad3c031f4f0e1db16e271ed1329e2c4bad33e10.tar.gz yuzu-0ad3c031f4f0e1db16e271ed1329e2c4bad33e10.tar.xz yuzu-0ad3c031f4f0e1db16e271ed1329e2c4bad33e10.zip | |
gl_rasterizer_cache: Move format conversion to its own file
Diffstat (limited to 'src/video_core/textures/decoders.cpp')
| -rw-r--r-- | src/video_core/textures/decoders.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/textures/decoders.cpp b/src/video_core/textures/decoders.cpp index 150612aed..cad7340f5 100644 --- a/src/video_core/textures/decoders.cpp +++ b/src/video_core/textures/decoders.cpp | |||
| @@ -154,7 +154,7 @@ void SwizzledData(u8* const swizzled_data, u8* const unswizzled_data, const bool | |||
| 154 | for (u32 xb = 0; xb < blocks_on_x; xb++) { | 154 | for (u32 xb = 0; xb < blocks_on_x; xb++) { |
| 155 | const u32 x_start = xb * block_x_elements; | 155 | const u32 x_start = xb * block_x_elements; |
| 156 | const u32 x_end = std::min(width, x_start + block_x_elements); | 156 | const u32 x_end = std::min(width, x_start + block_x_elements); |
| 157 | if (fast) { | 157 | if constexpr (fast) { |
| 158 | FastProcessBlock(swizzled_data, unswizzled_data, unswizzle, x_start, y_start, | 158 | FastProcessBlock(swizzled_data, unswizzled_data, unswizzle, x_start, y_start, |
| 159 | z_start, x_end, y_end, z_end, tile_offset, xy_block_size, | 159 | z_start, x_end, y_end, z_end, tile_offset, xy_block_size, |
| 160 | layer_z, stride_x, bytes_per_pixel, out_bytes_per_pixel); | 160 | layer_z, stride_x, bytes_per_pixel, out_bytes_per_pixel); |