Shader_IR: Address Feedback.

This commit is contained in:
Fernando Sahmkow
2019-10-17 10:35:16 -04:00
committed by FernandoS27
parent e3afd6595a
commit be856a38d6
9 changed files with 66 additions and 56 deletions

View File

@ -51,6 +51,10 @@ public:
std::tie(b.condition, b.address, b.kill, b.is_sync, b.is_brk, b.ignore);
}
bool operator!=(const SingleBranch& b) const {
return !operator==(b);
}
Condition condition{};
s32 address{exit_branch};
bool kill{};
@ -67,7 +71,7 @@ struct CaseBranch {
class MultiBranch {
public:
MultiBranch(u32 gpr, std::vector<CaseBranch>& branches)
MultiBranch(u32 gpr, std::vector<CaseBranch>&& branches)
: gpr{gpr}, branches{std::move(branches)} {}
u32 gpr{};