summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-09 09:08:19 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:30 +0200
commit6358b0d0c1968e6491d39d36f08055f834e0030f (patch)
treecc528a502b94eee3fdc17c377c5fa89eeed44380
parentglasm: Implement more GLASM composite instructions (diff)
downloadyuzu-6358b0d0c1968e6491d39d36f08055f834e0030f.tar
yuzu-6358b0d0c1968e6491d39d36f08055f834e0030f.tar.gz
yuzu-6358b0d0c1968e6491d39d36f08055f834e0030f.tar.bz2
yuzu-6358b0d0c1968e6491d39d36f08055f834e0030f.tar.lz
yuzu-6358b0d0c1968e6491d39d36f08055f834e0030f.tar.xz
yuzu-6358b0d0c1968e6491d39d36f08055f834e0030f.tar.zst
yuzu-6358b0d0c1968e6491d39d36f08055f834e0030f.zip
-rw-r--r--src/shader_recompiler/backend/glasm/reg_alloc.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/shader_recompiler/backend/glasm/reg_alloc.h b/src/shader_recompiler/backend/glasm/reg_alloc.h
index ef0b6697f..6a238afa9 100644
--- a/src/shader_recompiler/backend/glasm/reg_alloc.h
+++ b/src/shader_recompiler/backend/glasm/reg_alloc.h
@@ -136,7 +136,7 @@ struct fmt::formatter<Shader::Backend::GLASM::Id> {
}
template <typename FormatContext>
auto format(Shader::Backend::GLASM::Id id, FormatContext& ctx) {
- return FormatTo<true>(ctx, id);
+ return Shader::Backend::GLASM::FormatTo<true>(ctx, id);
}
};
@@ -150,7 +150,7 @@ struct fmt::formatter<Shader::Backend::GLASM::Register> {
if (value.type != Shader::Backend::GLASM::Type::Register) {
throw Shader::InvalidArgument("Register value type is not register");
}
- return FormatTo<false>(ctx, value.id);
+ return Shader::Backend::GLASM::FormatTo<false>(ctx, value.id);
}
};
@@ -164,7 +164,7 @@ struct fmt::formatter<Shader::Backend::GLASM::ScalarRegister> {
if (value.type != Shader::Backend::GLASM::Type::Register) {
throw Shader::InvalidArgument("Register value type is not register");
}
- return FormatTo<true>(ctx, value.id);
+ return Shader::Backend::GLASM::FormatTo<true>(ctx, value.id);
}
};
@@ -177,7 +177,7 @@ struct fmt::formatter<Shader::Backend::GLASM::ScalarU32> {
auto format(const Shader::Backend::GLASM::ScalarU32& value, FormatContext& ctx) {
switch (value.type) {
case Shader::Backend::GLASM::Type::Register:
- return FormatTo<true>(ctx, value.id);
+ return Shader::Backend::GLASM::FormatTo<true>(ctx, value.id);
case Shader::Backend::GLASM::Type::U32:
return fmt::format_to(ctx.out(), "{}", value.imm_u32);
case Shader::Backend::GLASM::Type::S32:
@@ -198,7 +198,7 @@ struct fmt::formatter<Shader::Backend::GLASM::ScalarS32> {
auto format(const Shader::Backend::GLASM::ScalarS32& value, FormatContext& ctx) {
switch (value.type) {
case Shader::Backend::GLASM::Type::Register:
- return FormatTo<true>(ctx, value.id);
+ return Shader::Backend::GLASM::FormatTo<true>(ctx, value.id);
case Shader::Backend::GLASM::Type::U32:
return fmt::format_to(ctx.out(), "{}", static_cast<s32>(value.imm_u32));
case Shader::Backend::GLASM::Type::S32:
@@ -219,7 +219,7 @@ struct fmt::formatter<Shader::Backend::GLASM::ScalarF32> {
auto format(const Shader::Backend::GLASM::ScalarF32& value, FormatContext& ctx) {
switch (value.type) {
case Shader::Backend::GLASM::Type::Register:
- return FormatTo<true>(ctx, value.id);
+ return Shader::Backend::GLASM::FormatTo<true>(ctx, value.id);
case Shader::Backend::GLASM::Type::U32:
return fmt::format_to(ctx.out(), "{}", Common::BitCast<u32>(value.imm_u32));
case Shader::Backend::GLASM::Type::S32: