diff --git a/src/video_core/textures/decoders.cpp b/src/video_core/textures/decoders.cpp index 03208be953..c32ae956a3 100644 --- a/src/video_core/textures/decoders.cpp +++ b/src/video_core/textures/decoders.cpp @@ -90,17 +90,26 @@ void Swizzle(std::span output, std::span input, u32 bytes_per_pixe case 2: return SwizzleImpl(output, input, width, height, depth, block_height, block_depth, stride_alignment); + case 3: + return SwizzleImpl(output, input, width, height, depth, block_height, + block_depth, stride_alignment); case 4: return SwizzleImpl(output, input, width, height, depth, block_height, block_depth, stride_alignment); + case 6: + return SwizzleImpl(output, input, width, height, depth, block_height, + block_depth, stride_alignment); case 8: return SwizzleImpl(output, input, width, height, depth, block_height, block_depth, stride_alignment); + case 12: + return SwizzleImpl(output, input, width, height, depth, block_height, + block_depth, stride_alignment); case 16: return SwizzleImpl(output, input, width, height, depth, block_height, block_depth, stride_alignment); default: - UNIMPLEMENTED_MSG("Unknown bytes_per_pixel {}", bytes_per_pixel); + UNREACHABLE_MSG("Invalid bytes_per_pixel={}", bytes_per_pixel); } } } // Anonymous namespace