summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/ir
diff options
context:
space:
mode:
authorliushuyu <liushuyu011@gmail.com>2022-01-09 05:42:11 +0100
committerliushuyu <liushuyu011@gmail.com>2022-01-10 01:35:33 +0100
commit09f4f3f23b5181883c7423a171edd5ec6467df02 (patch)
tree62b940e8d5532affe487ed43bd97cd2992fe07f6 /src/shader_recompiler/frontend/ir
parentcmake: upgrade Conan package fmt to 8.1.1 ... (diff)
downloadyuzu-09f4f3f23b5181883c7423a171edd5ec6467df02.tar
yuzu-09f4f3f23b5181883c7423a171edd5ec6467df02.tar.gz
yuzu-09f4f3f23b5181883c7423a171edd5ec6467df02.tar.bz2
yuzu-09f4f3f23b5181883c7423a171edd5ec6467df02.tar.lz
yuzu-09f4f3f23b5181883c7423a171edd5ec6467df02.tar.xz
yuzu-09f4f3f23b5181883c7423a171edd5ec6467df02.tar.zst
yuzu-09f4f3f23b5181883c7423a171edd5ec6467df02.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/frontend/ir/patch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/ir/patch.cpp b/src/shader_recompiler/frontend/ir/patch.cpp
index d8730284e..4c956a970 100644
--- a/src/shader_recompiler/frontend/ir/patch.cpp
+++ b/src/shader_recompiler/frontend/ir/patch.cpp
@@ -13,14 +13,14 @@ bool IsGeneric(Patch patch) noexcept {
u32 GenericPatchIndex(Patch patch) {
if (!IsGeneric(patch)) {
- throw InvalidArgument("Patch {} is not generic", static_cast<u64>(patch));
+ throw InvalidArgument("Patch {} is not generic", patch);
}
return (static_cast<u32>(patch) - static_cast<u32>(Patch::Component0)) / 4;
}
u32 GenericPatchElement(Patch patch) {
if (!IsGeneric(patch)) {
- throw InvalidArgument("Patch {} is not generic", static_cast<u64>(patch));
+ throw InvalidArgument("Patch {} is not generic", patch);
}
return (static_cast<u32>(patch) - static_cast<u32>(Patch::Component0)) % 4;
}