1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-26 05:56:33 -05:00

shader: Fix branches to visited virtual blocks

This commit is contained in:
ReinUsesLisp
2021-04-02 01:17:47 -03:00
committed by ameerj
parent d0a529683a
commit b4a5e767d0
2 changed files with 12 additions and 0 deletions

View File

@@ -56,6 +56,8 @@ ArgType Arg(EmitContext& ctx, const IR::Value& arg) {
return arg.Label();
} else if constexpr (std::is_same_v<ArgType, IR::Attribute>) {
return arg.Attribute();
} else if constexpr (std::is_same_v<ArgType, IR::Reg>) {
return arg.Reg();
}
}