summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-09-23 22:55:25 -0400
committerGravatar FernandoS272019-10-25 09:01:31 -0400
commit1244f2d368076aec61327ee1440c5efd9ae046d6 (patch)
tree8e373a95aa97723489479b53c7f33fd3547536d2
parentShader_IR: Correct typo in Consistent method. (diff)
downloadyuzu-1244f2d368076aec61327ee1440c5efd9ae046d6.tar.gz
yuzu-1244f2d368076aec61327ee1440c5efd9ae046d6.tar.xz
yuzu-1244f2d368076aec61327ee1440c5efd9ae046d6.zip
Shader_IR: Implement Fast BRX and allow multi-branches in the CFG.
-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 2fa3a3f7d..3f96d9076 100644
--- a/src/video_core/shader/ast.cpp
+++ b/src/video_core/shader/ast.cpp
@@ -228,7 +228,7 @@ public:
228 inner += expr.value ? "true" : "false"; 228 inner += expr.value ? "true" : "false";
229 } 229 }
230 230
231 void operator()(ExprGprEqual const& expr) { 231 void operator()(const ExprGprEqual& expr) {
232 inner += "( gpr_" + std::to_string(expr.gpr) + " == " + std::to_string(expr.value) + ')'; 232 inner += "( gpr_" + std::to_string(expr.gpr) + " == " + std::to_string(expr.value) + ')';
233 } 233 }
234 234