summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-16 17:42:05 +0200
committerLioncash <mathew1800@gmail.com>2019-07-19 03:03:30 +0200
commite7b39f47f86ee2c3656340b8af7747848ddc1f2e (patch)
treec0592c2310cb8c2f127a4f64fd1d4061cb015fcb /src/video_core
parentvideo_core/control_flow: Use empty() member function for checking emptiness (diff)
downloadyuzu-e7b39f47f86ee2c3656340b8af7747848ddc1f2e.tar
yuzu-e7b39f47f86ee2c3656340b8af7747848ddc1f2e.tar.gz
yuzu-e7b39f47f86ee2c3656340b8af7747848ddc1f2e.tar.bz2
yuzu-e7b39f47f86ee2c3656340b8af7747848ddc1f2e.tar.lz
yuzu-e7b39f47f86ee2c3656340b8af7747848ddc1f2e.tar.xz
yuzu-e7b39f47f86ee2c3656340b8af7747848ddc1f2e.tar.zst
yuzu-e7b39f47f86ee2c3656340b8af7747848ddc1f2e.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/shader/control_flow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/control_flow.cpp b/src/video_core/shader/control_flow.cpp
index 83549c082..c2243337c 100644
--- a/src/video_core/shader/control_flow.cpp
+++ b/src/video_core/shader/control_flow.cpp
@@ -365,7 +365,7 @@ bool TryQuery(CFGRebuildState& state) {
const auto gather_end = labels.upper_bound(block.end);
while (gather_start != gather_end) {
cc.push(gather_start->second);
- gather_start++;
+ ++gather_start;
}
};
if (state.queries.empty()) {
@@ -470,7 +470,7 @@ std::optional<ShaderCharacteristics> ScanFlow(const ProgramCode& program_code,
continue;
}
back = next;
- next++;
+ ++next;
}
return {result_out};
}