Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

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

Fernando Sahmkowfb98059d10c2
diff --git a/src/video_core/shader/ast.cpp b/src/video_core/shader/ast.cpp
index 2fa3a3f7dc..3f96d9076c 100644
--- a/src/video_core/shader/ast.cpp
+++ b/src/video_core/shader/ast.cpp
@@ -228,7 +228,7 @@ public:
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) + ')';
}