Browse Source

Shader_IR: Implement Fast BRX and allow multi-branches in the CFG.

nce_cpp
Fernando Sahmkow 6 years ago
committed by FernandoS27
parent
commit
fb98059d10
  1. 2
      src/video_core/shader/ast.cpp

2
src/video_core/shader/ast.cpp

@ -228,7 +228,7 @@ public:
inner += expr.value ? "true" : "false"; inner += expr.value ? "true" : "false";
} }
void operator()(ExprGprEqual const& expr) {
void operator()(const ExprGprEqual& expr) {
inner += "( gpr_" + std::to_string(expr.gpr) + " == " + std::to_string(expr.value) + ')'; inner += "( gpr_" + std::to_string(expr.gpr) + " == " + std::to_string(expr.value) + ')';
} }

Loading…
Cancel
Save