summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Levi Behunin2020-09-24 22:12:13 -0600
committerGravatar Levi Behunin2020-09-24 22:12:13 -0600
commitbc69cc151192326f9b8e18bbda831f1589ba27e0 (patch)
treee4d678236faa48dc4d2db93f9f32b06af1f17005
parentForgot to apply suggestion here as well (diff)
downloadyuzu-bc69cc151192326f9b8e18bbda831f1589ba27e0.tar.gz
yuzu-bc69cc151192326f9b8e18bbda831f1589ba27e0.tar.xz
yuzu-bc69cc151192326f9b8e18bbda831f1589ba27e0.zip
More forgetting... duh
-rw-r--r--src/video_core/shader/shader_ir.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/shader_ir.cpp b/src/video_core/shader/shader_ir.cpp
index 7d144b9cf..f207bbfbf 100644
--- a/src/video_core/shader/shader_ir.cpp
+++ b/src/video_core/shader/shader_ir.cpp
@@ -389,7 +389,7 @@ void ShaderIR::SetInternalFlagsFromInteger(NodeBlock& bb, Node value, bool sets_
389 } 389 }
390 switch (value->index()) { 390 switch (value->index()) {
391 case 0: // Operation Node 391 case 0: // Operation Node
392 Iterop(bb, value); 392 SearchOperands(bb, value);
393 break; 393 break;
394 case 2: // Genral Purpose Node 394 case 2: // Genral Purpose Node
395 if (const auto* gpr = std::get_if<GprNode>(value.get())) { 395 if (const auto* gpr = std::get_if<GprNode>(value.get())) {
@@ -421,7 +421,7 @@ void ShaderIR::SearchOperands(NodeBlock& nb, Node var) {
421 for (auto& operand : op->GetOperands()) { 421 for (auto& operand : op->GetOperands()) {
422 switch (operand->index()) { 422 switch (operand->index()) {
423 case 0: // Operation Node 423 case 0: // Operation Node
424 return Iterop(nb, operand); 424 return SearchOperands(nb, operand);
425 case 2: // General Purpose Node 425 case 2: // General Purpose Node
426 if (const auto* gpr = std::get_if<GprNode>(operand.get())) { 426 if (const auto* gpr = std::get_if<GprNode>(operand.get())) {
427 LOG_DEBUG(HW_GPU, "Child GprNode: index={}", gpr->GetIndex()); 427 LOG_DEBUG(HW_GPU, "Child GprNode: index={}", gpr->GetIndex());