summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures
diff options
context:
space:
mode:
authorMai <mathew1800@gmail.com>2022-06-14 14:34:16 +0200
committerGitHub <noreply@github.com>2022-06-14 14:34:16 +0200
commita3b12e3809e388e9c9b0608b14d85c0985e412c3 (patch)
tree135226fe24596286c54bf9c5c4a12868c3c55e90 /src/video_core/textures
parentMerge pull request #8459 from Morph1984/wextra-gcc (diff)
parentkernel: fix passthrough of local captures in lambda (diff)
downloadyuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.tar
yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.tar.gz
yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.tar.bz2
yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.tar.lz
yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.tar.xz
yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.tar.zst
yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/textures/decoders.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/textures/decoders.cpp b/src/video_core/textures/decoders.cpp
index c81343850..9b6b8527b 100644
--- a/src/video_core/textures/decoders.cpp
+++ b/src/video_core/textures/decoders.cpp
@@ -87,7 +87,7 @@ void Swizzle(std::span<u8> output, std::span<const u8> input, u32 bytes_per_pixe
BPP_CASE(16)
#undef BPP_CASE
default:
- UNREACHABLE_MSG("Invalid bytes_per_pixel={}", bytes_per_pixel);
+ ASSERT_MSG(false, "Invalid bytes_per_pixel={}", bytes_per_pixel);
}
}
@@ -209,7 +209,7 @@ void SwizzleSubrect(u32 subrect_width, u32 subrect_height, u32 source_pitch, u32
BPP_CASE(16)
#undef BPP_CASE
default:
- UNREACHABLE_MSG("Invalid bytes_per_pixel={}", bytes_per_pixel);
+ ASSERT_MSG(false, "Invalid bytes_per_pixel={}", bytes_per_pixel);
}
}
@@ -230,7 +230,7 @@ void UnswizzleSubrect(u32 line_length_in, u32 line_count, u32 pitch, u32 width,
BPP_CASE(16)
#undef BPP_CASE
default:
- UNREACHABLE_MSG("Invalid bytes_per_pixel={}", bytes_per_pixel);
+ ASSERT_MSG(false, "Invalid bytes_per_pixel={}", bytes_per_pixel);
}
}
@@ -253,7 +253,7 @@ void SwizzleSliceToVoxel(u32 line_length_in, u32 line_count, u32 pitch, u32 widt
BPP_CASE(16)
#undef BPP_CASE
default:
- UNREACHABLE_MSG("Invalid bytes_per_pixel={}", bytes_per_pixel);
+ ASSERT_MSG(false, "Invalid bytes_per_pixel={}", bytes_per_pixel);
}
}