summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLevi Behunin <l3ehunin@gmail.com>2020-09-25 06:12:13 +0200
committerLevi Behunin <l3ehunin@gmail.com>2020-09-25 06:12:13 +0200
commitbc69cc151192326f9b8e18bbda831f1589ba27e0 (patch)
treee4d678236faa48dc4d2db93f9f32b06af1f17005
parentForgot to apply suggestion here as well (diff)
downloadyuzu-bc69cc151192326f9b8e18bbda831f1589ba27e0.tar
yuzu-bc69cc151192326f9b8e18bbda831f1589ba27e0.tar.gz
yuzu-bc69cc151192326f9b8e18bbda831f1589ba27e0.tar.bz2
yuzu-bc69cc151192326f9b8e18bbda831f1589ba27e0.tar.lz
yuzu-bc69cc151192326f9b8e18bbda831f1589ba27e0.tar.xz
yuzu-bc69cc151192326f9b8e18bbda831f1589ba27e0.tar.zst
yuzu-bc69cc151192326f9b8e18bbda831f1589ba27e0.zip
-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_
}
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<GprNode>(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<GprNode>(operand.get())) {
LOG_DEBUG(HW_GPU, "Child GprNode: index={}", gpr->GetIndex());