diff --git a/src/video_core/textures/astc.cpp b/src/video_core/textures/astc.cpp index bb36471e88..ed04bb9fb4 100644 --- a/src/video_core/textures/astc.cpp +++ b/src/video_core/textures/astc.cpp @@ -590,7 +590,6 @@ static TexelWeightParams DecodeBlockInfo(InputBitStream& strm) { // Replicates low num_bits such that [(to_bit - 1):(to_bit - 1 - from_bit)] // is the same as [(num_bits - 1):0] and repeats all the way down. [[nodiscard]] constexpr u32 Replicate(u32 v, u32 num_bits, u32 to_bit) { - auto const mask = u32(1 << num_bits) - 1; auto val = v; for (; num_bits < to_bit; num_bits <<= 1) val |= val << u32(num_bits);