aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader/ast.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-09-23 22:55:25 -0400
committerFernandoS27 <fsahmkow27@gmail.com>2019-10-25 09:01:31 -0400
commit1244f2d368076aec61327ee1440c5efd9ae046d6 (patch)
tree8e373a95aa97723489479b53c7f33fd3547536d2 /src/video_core/shader/ast.cpp
parenta05120ec0b8b1827ebeffd4e78a553f7886fa178 (diff)
Shader_IR: Implement Fast BRX and allow multi-branches in the CFG.
Diffstat (limited to 'src/video_core/shader/ast.cpp')
-rw-r--r--src/video_core/shader/ast.cpp2
1 files changed, 1 insertions, 1 deletions
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) + ')';
}