Shader_IR: Implement Fast BRX and allow multi-branches in the CFG.
This commit is contained in:
parent
acd6441134
commit
8909f52166
7 changed files with 260 additions and 132 deletions
|
@ -228,6 +228,10 @@ public:
|
|||
inner += expr.value ? "true" : "false";
|
||||
}
|
||||
|
||||
void operator()(ExprGprEqual const& expr) {
|
||||
inner += "( gpr_" + std::to_string(expr.gpr) + " == " + std::to_string(expr.value) + ')';
|
||||
}
|
||||
|
||||
const std::string& GetResult() const {
|
||||
return inner;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue