diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-24 02:45:47 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-27 00:08:27 +0100 |
commit | 0ad3c031f4f0e1db16e271ed1329e2c4bad33e10 (patch) | |
tree | aaa115aafde8dbd657453317e698d62c72d07df8 /src/video_core/textures/decoders.cpp | |
parent | decoders: Minor style changes (diff) | |
download | yuzu-0ad3c031f4f0e1db16e271ed1329e2c4bad33e10.tar yuzu-0ad3c031f4f0e1db16e271ed1329e2c4bad33e10.tar.gz yuzu-0ad3c031f4f0e1db16e271ed1329e2c4bad33e10.tar.bz2 yuzu-0ad3c031f4f0e1db16e271ed1329e2c4bad33e10.tar.lz yuzu-0ad3c031f4f0e1db16e271ed1329e2c4bad33e10.tar.xz yuzu-0ad3c031f4f0e1db16e271ed1329e2c4bad33e10.tar.zst yuzu-0ad3c031f4f0e1db16e271ed1329e2c4bad33e10.zip |
Diffstat (limited to '')
-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 for (u32 xb = 0; xb < blocks_on_x; xb++) { const u32 x_start = xb * block_x_elements; const u32 x_end = std::min(width, x_start + block_x_elements); - if (fast) { + if constexpr (fast) { FastProcessBlock(swizzled_data, unswizzled_data, unswizzle, x_start, y_start, z_start, x_end, y_end, z_end, tile_offset, xy_block_size, layer_z, stride_x, bytes_per_pixel, out_bytes_per_pixel); |