summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-02-06 08:47:53 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:22 +0200
commit6dafb08f52ac78119669a698c4b9a39bffd48f8f (patch)
tree78cc4e3a4122f89944bdda56a500636507df3b67 /src/shader_recompiler/frontend
parentshader: Properly store phi on Inst (diff)
downloadyuzu-6dafb08f52ac78119669a698c4b9a39bffd48f8f.tar
yuzu-6dafb08f52ac78119669a698c4b9a39bffd48f8f.tar.gz
yuzu-6dafb08f52ac78119669a698c4b9a39bffd48f8f.tar.bz2
yuzu-6dafb08f52ac78119669a698c4b9a39bffd48f8f.tar.lz
yuzu-6dafb08f52ac78119669a698c4b9a39bffd48f8f.tar.xz
yuzu-6dafb08f52ac78119669a698c4b9a39bffd48f8f.tar.zst
yuzu-6dafb08f52ac78119669a698c4b9a39bffd48f8f.zip
Diffstat (limited to 'src/shader_recompiler/frontend')
-rw-r--r--src/shader_recompiler/frontend/ir/basic_block.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/ir/basic_block.cpp b/src/shader_recompiler/frontend/ir/basic_block.cpp
index 50c6a83cd..da33ff6f1 100644
--- a/src/shader_recompiler/frontend/ir/basic_block.cpp
+++ b/src/shader_recompiler/frontend/ir/basic_block.cpp
@@ -87,7 +87,7 @@ static std::string ArgToIndex(const std::map<const Block*, size_t>& block_to_ind
}
switch (arg.Type()) {
case Type::U1:
- return fmt::format("#{}", arg.U1() ? '1' : '0');
+ return fmt::format("#{}", arg.U1() ? "true" : "false");
case Type::U8:
return fmt::format("#{}", arg.U8());
case Type::U16: