Skip to content
Snippets Groups Projects
Commit e86b4c84 authored by GregF's avatar GregF
Browse files

Remapper: Fix strip algo when strip ranges overlap

parent 88e22a60
No related branches found
No related tags found
No related merge requests found
......@@ -1392,7 +1392,7 @@ namespace spv {
int strippedPos = 0;
for (unsigned word = 0; word < unsigned(spv.size()); ++word) {
if (strip_it != stripRange.end() && word >= strip_it->second)
while (strip_it != stripRange.end() && word >= strip_it->second)
++strip_it;
if (strip_it == stripRange.end() || word < strip_it->first || word >= strip_it->second)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment