From bc69cc151192326f9b8e18bbda831f1589ba27e0 Mon Sep 17 00:00:00 2001 From: Levi Behunin Date: Thu, 24 Sep 2020 22:12:13 -0600 Subject: More forgetting... duh --- src/video_core/shader/shader_ir.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/video_core/shader/shader_ir.cpp') 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_ } switch (value->index()) { case 0: // Operation Node - Iterop(bb, value); + SearchOperands(bb, value); break; case 2: // Genral Purpose Node if (const auto* gpr = std::get_if(value.get())) { @@ -421,7 +421,7 @@ void ShaderIR::SearchOperands(NodeBlock& nb, Node var) { for (auto& operand : op->GetOperands()) { switch (operand->index()) { case 0: // Operation Node - return Iterop(nb, operand); + return SearchOperands(nb, operand); case 2: // General Purpose Node if (const auto* gpr = std::get_if(operand.get())) { LOG_DEBUG(HW_GPU, "Child GprNode: index={}", gpr->GetIndex()); -- cgit v1.2.3