From 1244f2d368076aec61327ee1440c5efd9ae046d6 Mon Sep 17 00:00:00 2001 From: Fernando Sahmkow Date: Mon, 23 Sep 2019 22:55:25 -0400 Subject: [PATCH] Shader_IR: Implement Fast BRX and allow multi-branches in the CFG. --- src/video_core/shader/ast.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) + ')'; }